CVE-2025-46836

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-46836
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-46836.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-46836
Aliases
  • GHSA-pfwf-h6m3-63wf
Related
Published
2025-05-14T23:15:48Z
Modified
2025-05-18T13:49:02.573081Z
Downstream
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / net-tools

Package

Name
net-tools
Purl
pkg:deb/debian/net-tools?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.60+git20181103.0eebece-1
1.60+git20181103.0eebece-1+deb11u1

2.*

2.10-0.1
2.10-1
2.10-1.1
2.10-1.2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / net-tools

Package

Name
net-tools
Purl
pkg:deb/debian/net-tools?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.10-0.1+deb12u1

Affected versions

2.*

2.10-0.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / net-tools

Package

Name
net-tools
Purl
pkg:deb/debian/net-tools?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.10-1.2

Affected versions

2.*

2.10-0.1
2.10-1
2.10-1.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/ecki/net-tools

Affected ranges

Type
GIT
Repo
https://github.com/ecki/net-tools
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.60

v2.*

v2.10