CVE-2025-46836

Name
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/ecki/net-tools/commit/7a8f42fb20013a1493d8cae1c43436f85e656f2d
CONFIRM https://github.com/ecki/net-tools/security/advisories/GHSA-pfwf-h6m3-63wf
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2025/05/msg00053.html

Match rules

CPE URI Source package Min version Max version
net-tools >= 0 <= 2.10

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
net-tools edge-main 2.10-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable