CVE-2026-59961: mini-snmpd Out-of-bounds Read
Published 2026-11-18 · Updated 2026-11-19 · Source security-advisories@github.com
Not known to be exploited · high severity — update mini-snmpd to 1.7 or later in your next patch cycle.
What to do
- Update mini-snmpd to version 1.7 or later. Versions before 1.7 are affected.
- Until it is patched, do not leave mini-snmpd reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Avoid processing untrusted files or input with the affected component until it is updated.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| mini-snmpd | < 1.7 | 1.7 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high, and on confidentiality low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Weakness: Out-of-bounds Read
The software reads past the end of a buffer, which can leak adjacent memory contents or crash the process.
Classified as CWE-125.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/troglobit/mini-snmpd/commit/5419bc3816a09b7a2ca38c47f0888ad01c8fe897
- Patchhttps://github.com/troglobit/mini-snmpd/releases/tag/v1.7
- Advisoryhttps://github.com/troglobit/mini-snmpd/security/advisories/GHSA-c9g2-5ghh-8g8c
- Advisoryhttps://github.com/troglobit/mini-snmpd/security/advisories/GHSA-c9g2-5ghh-8g8c