Logo
vulnerabilityCVE-2025-46836
Name
CVE-2025-46836
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-
Advisories

Analysis#


Affected Component
Analysis
net-tools
Patched

Vulnerability Ratings#


6.6
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
master
2.10
Patched
openwrt
master
2.10-r2
Not Affected
openwrt
openwrt-25.12
2.10-r2
Not Affected
yocto
kirkstone
2.10
Patched
yocto
master
2.10
Patched
yocto
scarthgap
2.10
Patched

Resolved with patches#


net-tools (buildroot:2025.02.x)

#
Title
Author
Resolve
1
Interface statistic regression after 7a8f42fb2
Bernd Eckenfels <net-tools@lina.inka.de>
CVE-2025-46836

net-tools (buildroot:master)

#
Title
Author
Resolve
1
Interface statistic regression after 7a8f42fb2
Bernd Eckenfels <net-tools@lina.inka.de>
CVE-2025-46836

net-tools (yocto:kirkstone)

#
Title
Author
Resolve
1
CVE-2025-46836: interface.c: Stack-based Buffer Overflow in
Zephkeks <zephyrofficialdiscord@gmail.com>
CVE-2025-46836
2
Interface statistic regression after 7a8f42fb2
Bernd Eckenfels <net-tools@lina.inka.de>
CVE-2025-46836

net-tools (yocto:master)

#
Title
Author
Resolve
1
CVE-2025-46836: interface.c: Stack-based Buffer Overflow in
Zephkeks <zephyrofficialdiscord@gmail.com>
CVE-2025-46836
2
Interface statistic regression after 7a8f42fb2
Bernd Eckenfels <net-tools@lina.inka.de>
CVE-2025-46836

net-tools (yocto:scarthgap)

#
Title
Author
Resolve
1
CVE-2025-46836: interface.c: Stack-based Buffer Overflow in
Zephkeks <zephyrofficialdiscord@gmail.com>
CVE-2025-46836
2
Interface statistic regression after 7a8f42fb2
Bernd Eckenfels <net-tools@lina.inka.de>
CVE-2025-46836