We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-46836

net-tools Stack-based Buffer Overflow vulnerability



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.

Reserved 2025-04-30 | Published 2025-05-14 | Updated 2025-05-31 | Assigner GitHub_M


MEDIUM: 6.6CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Problem types

CWE-20: Improper Input Validation

CWE-121: Stack-based Buffer Overflow

Product status

<= 2.10
affected

References

github.com/...-tools/security/advisories/GHSA-pfwf-h6m3-63wf

github.com/...ommit/7a8f42fb20013a1493d8cae1c43436f85e656f2d

cve.org (CVE-2025-46836)

nvd.nist.gov (CVE-2025-46836)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-46836

Support options

Helpdesk Chat, Email, Knowledgebase