Bug 2366370 (CVE-2025-46836) - CVE-2025-46836 net-tools: net-tools Stack Buffer Overflow
Summary: CVE-2025-46836 net-tools: net-tools Stack Buffer Overflow
Keywords:
Status: NEW
Alias: CVE-2025-46836
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2366389 2366390
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-15 00:01 UTC by OSIDB Bzimport
Modified: 2025-05-15 13:17 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-15 00:01:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.