CVE-2025-46836
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-46836
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2025-46836.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 2.10-0.1+deb12u1 |
| debian | bullseye | fixed | 1.60+git20181103.0eebece-1+deb11u2 |
| debian | forky | fixed | 2.10-1.2 |
| debian | sid | fixed | 2.10-1.2 |
| debian | trixie | fixed | 2.10-1.2 |
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
- https://www.suse.com/security/cve/CVE-2025-46836.html
- https://security-tracker.debian.org/tracker/CVE-2025-46836
CWEs
CWE-20 CWE-121
Verify integrity in audit chain (admin only). AS-IS.