Input validation error in net-tools - CVE-2025-46836
Published: September 25, 2025
Vulnerability details
The vulnerability allows a local user to bypass implemented security restrictions.
The vulnerability exists due to certain 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.
Affected software
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
Debian Linux
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Legacy Module
Basesystem Module
openSUSE Leap
Ubuntu
Anolis OS
net-tools (Ubuntu package)
net-tools-debuginfo
net-tools-debugsource
net-tools
net-tools-deprecated
net-tools-deprecated-debuginfo
net-tools-lang
net-tools (Debian package)
net-tools-doc
How to mitigate CVE-2025-46836
net-tools-debuginfo - addressed in versions 1.60-765.12.1, 1.60-765.15.1, 2.0+git20170221.479bb4a-150000.5.13.1
net-tools-debugsource - addressed in versions 1.60-765.12.1, 1.60-765.15.1, 2.0+git20170221.479bb4a-150000.5.13.1
net-tools - addressed in versions 1.60-765.12.1, 1.60-765.15.1, 2.0+git20170221.479bb4a-150000.5.13.1
net-tools-deprecated - update to 2.0+git20170221.479bb4a-150000.5.13.1
net-tools-deprecated-debuginfo - update to 2.0+git20170221.479bb4a-150000.5.13.1
net-tools-lang - update to 2.0+git20170221.479bb4a-150000.5.13.1
net-tools (Debian package) - update to 2.10-0.1+deb12u1
net-tools - addressed in versions 2.10-4, 2.10-5
net-tools-doc - addressed in versions 2.10-4, 2.10-5