CVEfocus › CVE database › CVE-2025-46836

CVE-2025-46836net-tools Stack-based Buffer Overflow vulnerability

CVSS 6.6 MediumEPSS 0.3% (higher than 15% of CVEs)Published 2025-05-14Updated 2026-10-15Assigner: GitHub_M

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.

CWE-121CWE-20

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
6Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10net-toolsFixed2.10-1.3ubuntu1UBUNTU-CVE-2025-46836
Ubuntu 24.04net-toolsFixed2.10-0.1ubuntu4.4UBUNTU-CVE-2025-46836
Ubuntu 22.04net-toolsFixed1.60+git20181103.0eebece-1ubuntu5.4UBUNTU-CVE-2025-46836
Ubuntu 20.04net-toolsFixed1.60+git20180626.aebd88e-1ubuntu1.3UBUNTU-CVE-2025-46836
Ubuntu 18.04net-toolsFix pendingUBUNTU-CVE-2025-46836
Ubuntu 16.04net-toolsFix pendingUBUNTU-CVE-2025-46836
Ubuntu 14.04net-toolsFix pendingUBUNTU-CVE-2025-46836
Debian 14net-toolsFixed2.10-1.2DEBIAN-CVE-2025-46836
Debian 13net-toolsFixed2.10-1.2DEBIAN-CVE-2025-46836
Debian 12net-toolsFixed2.10-0.1+deb12u1DEBIAN-CVE-2025-46836
Red Hat Enterprise Linux 10net-toolsNot affected
Red Hat Enterprise Linux 9net-toolsNot affected
Red Hat Enterprise Linux 8net-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 7net-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 6net-toolsFix pending
Fix deferred

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.