Quick answers
- Is CVE-2025-46836 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-46836 being exploited in the wild.
- How severe is CVE-2025-46836?
- Medium severity, with a CVSS score of 6.6, published 14 May 2025.
- Which products and versions are affected?
- Linux Foundation Net-Tools <= 2.10; Siemens Ruggedcom Rox < 2.17.1; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.5.
- Is there a fix for CVE-2025-46836?
- A patch was published on 2025-05-31: Debian LTS update released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-46836 attacked?
- It is attacked with local access, in an operating system.
- Am I affected by CVE-2025-46836?
- Check whether you run Linux Foundation Net-Tools, Siemens Ruggedcom Rox or Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A stack-based buffer overflow exists in the get_name() function within interface.c of the net-tools package (versions <= 2.10). The vulnerability is caused by improper validation of interface labels read from /proc/net/dev, where labels longer than 15 bytes are copied into a fixed 16-byte stack buffer (IFNAMSIZ) without bounds checking. An attacker with local access can trigger this by manipulating the /proc filesystem (e.g., via unprivileged user namespaces) to include a malformed interface name. Successful exploitation can lead to arbitrary code execution or a denial-of-service (crash), though it does not inherently provide privilege escalation. A fix is available in net-tools version 2.20 and has been backported to various Linux distributions.
Affected products
- Linux Foundation net-tools <= 2.10
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.5
- Siemens Ruggedcom Rox < 2.17.1
Timeline
- 2025-05-14: disclosed: Initial disclosure and GitHub advisory published
- 2025-05-14: advisory
- 2025-05-31: patched: Debian LTS update released
- 2026-05-12: advisory: Siemens security advisory updated to include this CVE
References
- https://github.com/ecki/net-tools/commit/7a8f42fb20013a1493d8cae1c43436f85e656f2d
- https://github.com/ecki/net-tools/security/advisories/GHSA-pfwf-h6m3-63wf
- https://lists.debian.org/debian-lts-announce/2025/05/msg00053.html
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html