CVE-2025-46836
net-tools Stack-based Buffer Overflow vulnerability
Reported by github_m · Published May 14, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| RUGGEDCOM ROX MX5000 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1511 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1501 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1400 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1510 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX5000 | Siemens | 2.17.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ecki | net-tools | <= 2.10 |
| Siemens | RUGGEDCOM ROX MX5000 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.5 |
| Siemens | RUGGEDCOM ROX RX1511 | 0 |
| Siemens | RUGGEDCOM ROX RX1501 | 0 |
| Siemens | RUGGEDCOM ROX RX1400 | 0 |
| Siemens | RUGGEDCOM ROX RX1510 | 0 |
| Siemens | RUGGEDCOM ROX RX5000 | 0 |
| ecki | net-tools | 0 |
| Siemens | RUGGEDCOM ROX RX1512 | 0 |
| Siemens | RUGGEDCOM ROX RX1500 | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5 |
| Siemens | RUGGEDCOM ROX RX1536 | 0 |
| Siemens | RUGGEDCOM ROX RX1524 | 0 |
| Siemens | RUGGEDCOM ROX MX5000RE | 0 |
Timeline
- May 14, 2025 CVE Published
- May 15, 2025 EPSS Score (30 in total, the first dated here)
- May 15, 2025 Coalition ESS Score (11 in total, the first dated here)
- Dec 13, 2025 Security Advisory (3 in total, the first dated here)
- Dec 18, 2025 PoC Published
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-46836
vulnetix vdb fixes CVE-2025-46836
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-46836/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/ecki/net-tools/security/advisories/GHSA-pfwf-h6m3-63wf x_refsource_CONFIRM
- https://github.com/ecki/net-tools/commit/7a8f42fb20013a1493d8cae1c43436f85e656f2d x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/05/msg00053.html url
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html url
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html url