# CVE-2026-59961: mini-snmpd: Unauthenticated out-of-bounds read in SNMP request parser (decode_oid/decode_str/decode_ptr)

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-18T21:15:50.020Z
- Modified: 2026-11-19T20:17:51.897Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- troglobit mini-snmpd: < 1.7

## References

- <https://github.com/troglobit/mini-snmpd/security/advisories/GHSA-c9g2-5ghh-8g8c> (exploit)
- <https://github.com/troglobit/mini-snmpd/commit/5419bc3816a09b7a2ca38c47f0888ad01c8fe897>
- <https://github.com/troglobit/mini-snmpd/releases/tag/v1.7>

## Sources

- CVE List: [CVE-2026-59961](https://www.cve.org/CVERecord?id=CVE-2026-59961), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-59961](https://nvd.nist.gov/vuln/detail/CVE-2026-59961), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-59961 · Whole record: https://cve.day/CVE-2026-59961.json · Rebuilt by cve.day 2026-11-25T22:59:51.921Z
