{"id":"CVE-2026-59961","summary":"mini-snmpd: Unauthenticated out-of-bounds read in SNMP request parser (decode_oid/decode_str/decode_ptr)","details":"mini-snmpd is a minimal SNMP agent implementation. Prior to 1.7, the ASN.1 BER parser in protocol.c does not verify that an attacker-controlled field length is no greater than the remaining packet size before decode_str(), decode_oid(), and decode_ptr() evaluate size - len + 1. When len exceeds size, unsigned size_t arithmetic wraps and bypasses the bounds check, allowing the decoder to read beyond the 2048-byte packet buffer. Parsing occurs before the SNMP community string is checked, so a remote unauthenticated attacker can send one crafted request to UDP port 161 to crash the process and potentially disclose adjacent heap memory. This issue is fixed in version 1.7.","aliases":["GHSA-c9g2-5ghh-8g8c"],"modified":"2026-11-18T23:00:53.123441194Z","published":"2026-11-18T21:15:50.020Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59961.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59961.json"},{"type":"FIX","url":"https://github.com/troglobit/mini-snmpd/commit/5419bc3816a09b7a2ca38c47f0888ad01c8fe897"},{"type":"WEB","url":"https://github.com/troglobit/mini-snmpd/releases/tag/v1.7"},{"type":"ADVISORY","url":"https://github.com/troglobit/mini-snmpd/security/advisories/GHSA-c9g2-5ghh-8g8c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59961"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/troglobit/mini-snmpd","events":[{"introduced":"0"},{"fixed":"6894e33e70113f33398fbc0ce0d538db6246759b"},{"fixed":"5419bc3816a09b7a2ca38c47f0888ad01c8fe897"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.7"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"5419bc3816a09b7a2ca38c47f0888ad01c8fe897"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"6894e33e70113f33398fbc0ce0d538db6246759b"}],"source":"REFERENCES_TAG","original_tag":"v1.7"}]}}],"versions":["v1.6","v1.5","v1.4","v1.3","v1.2b","v1.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59961.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"}]}