CVE-2025-46836CWE-121CWE-20

net-tools Stack-based Buffer Overflow vulnerability

Medium · published May 14, 2025

CVSS v3.1
6.6
EPSS
0%
Percentile
9.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.6 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00202 · 9.6th percentile
Weaknesses
CWE-121 · Stack-based Buffer Overflow; CWE-20 · Improper Input Validation
Published
2025-05-14T22:59Z
EPSS history
Timeline
  • 14 MAY 22:59Z
    net-tools Stack-based Buffer Overflow vulnerability
    cvelistv5