Buffer overflow in Ecki Net-Tools
CVE-2025-46836
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.002 (6.1th percentile) — read the EPSS interpretation.
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.
Affected products
- Ecki Net-tools — versions <= 2.10
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/ecki/net-tools/security/advisories/GHSA-pfwf-h6m3-63wf (x_refsource_CONFIRM)
- https://github.com/ecki/net-tools/commit/7a8f42fb20013a1493d8cae1c43436f85e656f2d (x_refsource_MISC)
- af854a3a-2127-422b-91ae-364da2661108
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Frequently asked questions
- What is CVE-2025-46836?
- CVE-2025-46836 is a medium-severity vulnerability in Ecki Net-Tools, classified under Improper Input Validation. CVSS score: 6.6/10. Published 2025-05-14.
- How severe is CVE-2025-46836?
- Medium severity. CVSS v3 base score is 6.6 out of 10.
- Is CVE-2025-46836 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.