CVE-2025-46836 Details
Description
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.
A stack-based buffer overflow vulnerability has been identified in the net-tools package for Linux, affecting all versions through 2.10. The issue arises in the 'get_name()' function within 'interface.c', where interface labels are copied from '/proc/net/dev' into a fixed 16-byte stack buffer without proper bounds checking. This flaw could lead to arbitrary code execution or a crash. The vulnerability can be exploited without special privileges, although it does not allow for privilege escalation.
Users are advised to update to net-tools version 2.20 or later. For Debian 11 bullseye, this update is available in version 1.60+git20181103.0eebece-1+deb11u2.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 14, 2025CISA-ADP
Assessed May 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-082556.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-577017.html | siemens-SADP | |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00053.html | CVE | AdvisoryMailing ListRemedyVendor |
| https://github.com/ecki/net-tools/commit/7a8f42fb20013a1493d8cae1c43436f85e656f2d | [email protected] | Source CodeVendor |
| https://github.com/ecki/net-tools/security/advisories/GHSA-pfwf-h6m3-63wf | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ecki net-tools | <= 2.10 |
CPE
Remediation
| |
| Debian | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| May 31, 2025 | CVE Modified | CVE |
| May 14, 2025 | New CVE Received | [email protected] |
Volerion