CVE-2026-138295
Description
Net-SNMP snmpd through 5.9.5.2 and 5.10.pre1 before 5.10.pre3 contains a heap out-of-bounds write vulnerability in view_parse_oid() that allows authenticated attackers with SNMP write access to corrupt heap memory. Attackers can send a single SET to vacmViewTreeFamilyTable whose index begins with sub-identifier 4294967295, causing a one-byte write before a malloc(0) allocation and crashing snmpd.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-138295 NameCVE-2026-138295 DescriptionNet-SNMP snmpd through 5.9.5.2 and 5.10.pre1 before 5.10.pre3 contains a heap out-of-bounds write vulnerability in view_parse_oid() that allows authenticated attackers with SNMP write access to corrupt heap memory. Attackers can send a single SET to vacmViewTreeFamilyTable whose index begins with sub-identifier 4294967295, causing a one-byte write…
CVE-2026-138295
| Name | CVE-2026-138295 |
| Description | Net-SNMP snmpd through 5.9.5.2 and 5.10.pre1 before 5.10.pre3 contains a heap out-of-bounds write vulnerability in view_parse_oid() that allows authenticated attackers with SNMP write access to corrupt heap memory. Attackers can send a single SET to vacmViewTreeFamilyTable whose index begins with sub-identifier 4294967295, causing a one-byte write before a malloc(0) allocation and crashing snmpd. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1155726 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| net-snmp (PTS) | bookworm, bookworm (security) | 5.9.3+dfsg-2+deb12u1 | vulnerable |
| trixie (security), trixie | 5.9.4+dfsg-2+deb13u1 | vulnerable | |
| forky, sid | 5.9.5.2+dfsg-3 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| net-snmp | source | (unstable) | (unfixed) | 1155726 |
Notes
https://github.com/net-snmp/net-snmp/commit/e96e212a101d4c4beb51cf7cd7d89f1e342f9eed (v5.10.pre3)
https://github.com/net-snmp/net-snmp/commit/11a86c9aeb31f3cf07d6cc9259fcae34de6b3474 (v5.10.pre3)
Apply commands
https://github.com/net-snmp/net-snmp/commit/e96e212a101d4c4beb51cf7cd7d89f1e342f9eed (v5.10.pre3)https://github.com/net-snmp/net-snmp/commit/11a86c9aeb31f3cf07d6cc9259fcae34de6b3474 (v5.10.pre3)
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | net-snmp |
Affected | — |
| sid | net-snmp |
Fixed | 5.9.5.2+dfsg-4 |
| forky | net-snmp |
Affected | — |
| bookworm | net-snmp |
Affected | — |
References
- https://github.com/net-snmp/net-snmp/blob/v5.9.5.2/agent/mibgroup/mibII/vacm_vars.c#L1468-L1517
- https://github.com/net-snmp/net-snmp/commit/11a86c9aeb31f3cf07d6cc9259fcae34de6b3474
- https://github.com/net-snmp/net-snmp/commit/b44e7f15bdb9014e5cb199c81f787ce9398c7d14
- https://github.com/net-snmp/net-snmp/commit/e96e212a101d4c4beb51cf7cd7d89f1e342f9eed
- https://www.vulncheck.com/advisories/net-snmp-snmpd-through-5.9.5.2-and-5.10-pre1-before-5.10-pre3-heap-out-of-bounds-write-via-view-parse-oid
- https://security-tracker.debian.org/tracker/CVE-2026-138295
CWEs
CWE-124
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.