CVE-2025-46836

NameCVE-2025-46836
Descriptionnet-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1105806

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
net-tools (PTS)bullseye1.60+git20181103.0eebece-1+deb11u1vulnerable
bookworm2.10-0.1vulnerable
trixie2.10-1.1vulnerable
sid2.10-1.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
net-toolssource(unstable)2.10-1.21105806

Notes

https://github.com/ecki/net-tools/security/advisories/GHSA-pfwf-h6m3-63wf
Fixed by: https://github.com/ecki/net-tools/commit/7a8f42fb20013a1493d8cae1c43436f85e656f2d

Search for package or bug name: Reporting problems