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.
References
- github.com/net-snmp/net-snmp/blob/v5.9.5.2/age…II/vacm_vars.c#L1468-L1517
- github.com/net-snmp/net-snmp/commit/11a86c9aeb…fcae34de6b3474
- github.com/net-snmp/net-snmp/commit/b44e7f15bd…787ce9398c7d14
- github.com/net-snmp/net-snmp/commit/e96e212a10…d89f1e342f9eed
- vulncheck.com/advisories/net-snmp-snmpd-throug…view-parse-oid