{"id":"CVE-2026-59961","state":"PUBLISHED","title":"mini-snmpd: Unauthenticated out-of-bounds read in SNMP request parser (decode_oid/decode_str/decode_ptr)","description":"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.","publishedAt":"2026-11-18T21:15:50.020Z","updatedAt":"2026-11-19T19:18:10.902Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["troglobit mini-snmpd"],"affected":[{"vendor":"troglobit","product":"mini-snmpd","versions":[{"version":"< 1.7","status":"affected"}]}],"references":["https://github.com/troglobit/mini-snmpd/security/advisories/GHSA-c9g2-5ghh-8g8c","https://github.com/troglobit/mini-snmpd/commit/5419bc3816a09b7a2ca38c47f0888ad01c8fe897","https://github.com/troglobit/mini-snmpd/releases/tag/v1.7"],"weaknesses":["CWE-125"],"ingestedAt":"2026-11-19T19:20:06.334Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59961.json","commit":"befc4a05bc5520b5a340a4a135175f3f06c34192","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59961","state":"PUBLISHED","datePublished":"2026-11-18T21:15:50.020Z","dateUpdated":"2026-11-19T19:18:10.902Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-07T18:49:15.608Z"},"containers":{"cna":{"title":"mini-snmpd: Unauthenticated out-of-bounds read in SNMP request parser (decode_oid/decode_str/decode_ptr)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"troglobit","product":"mini-snmpd","versions":[{"version":"< 1.7","status":"affected"}]}],"references":[{"url":"https://github.com/troglobit/mini-snmpd/security/advisories/GHSA-c9g2-5ghh-8g8c","name":"https://github.com/troglobit/mini-snmpd/security/advisories/GHSA-c9g2-5ghh-8g8c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/troglobit/mini-snmpd/commit/5419bc3816a09b7a2ca38c47f0888ad01c8fe897","name":"https://github.com/troglobit/mini-snmpd/commit/5419bc3816a09b7a2ca38c47f0888ad01c8fe897","tags":["x_refsource_MISC"]},{"url":"https://github.com/troglobit/mini-snmpd/releases/tag/v1.7","name":"https://github.com/troglobit/mini-snmpd/releases/tag/v1.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-18T21:15:50.020Z"},"source":{"advisory":"GHSA-c9g2-5ghh-8g8c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/troglobit/mini-snmpd/security/advisories/GHSA-c9g2-5ghh-8g8c","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-19T19:17:50.026575Z","id":"CVE-2026-59961","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-19T19:18:10.902Z"}}]}}}