Skip to content
OpenAdvisories
Medium · 6.6 CVE-2025-46836 EUVD-2025-14945

net-tools Stack-based Buffer Overflow vulnerability

Published May 14, 2025 · Updated Oct 15, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
ecki net-tools <= 2.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 net-tools 2.10-1.2 —
Debian 13 net-tools 2.10-1.2 —
Debian 12 net-tools 2.10-0.1+deb12u1 DSA-5923-1
Debian 11 net-tools 1.60+git20181103.0eebece-1+deb11u2 DLA-4202-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 net-tools 2.10-1.3ubuntu1 —
Ubuntu 24.04 LTS net-tools 2.10-0.1ubuntu4.4 USN-7537-1
Ubuntu 22.04 LTS net-tools 1.60+git20181103.0eebece-1ubuntu5.4 USN-7537-1
Ubuntu 20.04 LTS net-tools 1.60+git20180626.aebd88e-1ubuntu1.3 USN-7537-1
Ubuntu 18.04 LTS net-tools No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS net-tools No fix yet —
Ubuntu 14.04 LTS net-tools No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 net-tools 2.0+git20170221.479bb4a-150000.5.13.1 SUSE-SU-2025:03260-1
SLES 15 SP6 net-tools 2.0+git20170221.479bb4a-150000.5.13.1 SUSE-SU-2025:03260-1
SLES 12 SP5 net-tools 1.60-765.12.1 SUSE-SU-2025:03245-1, SUSE-SU-2025:02974-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 net-tools 2.10-160000.3.1 SUSE-SU-2026:20940-1
SLES 16.0 net-tools 2.10-160000.3.1 SUSE-SU-2026:20940-1
SLE Micro 6.2 net-tools 2.10-160000.3.1 SUSE-SU-2026:20948-1
SLE Micro 6.1 net-tools 2.10-slfo.1.1_2.1 SUSE-SU-2025:20747-1
SLE Micro 6.0 net-tools 2.10-3.1 SUSE-SU-2025:20825-1, SUSE-SU-2025:20566-1
SLE Micro 5.5 net-tools 2.0+git20170221.479bb4a-150000.5.13.1 SUSE-SU-2025:03260-1
SLE Micro 5.4 net-tools 2.0+git20170221.479bb4a-150000.5.13.1 SUSE-SU-2025:03260-1
SLE Micro 5.3 net-tools 2.0+git20170221.479bb4a-150000.5.13.1 SUSE-SU-2025:03260-1
SLE Micro 5.2 net-tools 2.0+git20170221.479bb4a-150000.5.13.1 SUSE-SU-2025:03260-1
SLE Micro 5.1 net-tools 2.0+git20170221.479bb4a-150000.5.13.1 SUSE-SU-2025:03260-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed net-tools 2.10-4.1 openSUSE-SU-2025:15428-1
openSUSE Leap 16.0 net-tools 2.10-160000.3.1 openSUSE-SU-2026:20437-1
openSUSE Leap 15.6 net-tools 2.0+git20170221.479bb4a-150000.5.13.1 SUSE-SU-2025:03260-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 net-tools 2.10-4 —
Azure Linux 2 (CBL-Mariner) net-tools 2.10-4 —

Advisories 19

References