Buffer overflow in Ecki Net-Tools
CVE-2025-46836
- CVSS v3
- 6.6 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 11.0th percentile
- Published
- 2025-05-14
net-tools is a collection of programs that form the base set of the NET-3 networking distribution for the Linux operating system. Inn versions up to and including 2.10, the Linux network utilities (like ifconfig) from the net-tools package do not properly validate the structure of /proc files when showing interfaces. `get_name()` in `interface.c` copies interface labels from `/proc/net/dev` into a fixed 16-byte stack buffer without bounds checking, leading to possible arbitrary code execution or crash. The known attack path does not require privilege but also does not provide privilege escalation in this scenario. A patch is available and expected to be part of version 2.20.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.6 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H.
EPSS exploit prediction
EPSS 0.002, 11.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ecki Net-Tools — versions <= 2.10
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/ecki/net-tools/security/advisories/GHSA-pfwf-h6m3-63wf
- https://github.com/ecki/net-tools/commit/7a8f42fb20013a1493d8cae1c43436f85e656f2d
- lists.debian.org/debian-lts-announce/2025/05/msg00053.html
- cert-portal.siemens.com/productcert/html/ssa-082556.html
- cert-portal.siemens.com/productcert/html/ssa-577017.html