CVE
mini-snmpd remote out-of-bounds read in SNMP request parser
Affects mini-snmpd up to and including 1.6, and the master branch before the fix. Fixed in 1.7. No vendor severity rating is given, so CVSS 8.2 (high) is the only rating.
- Exploited
- No known exploitation
- Fix
- Fixed in 1.7
- Who is exposed
- Not reported
Do first: Upgrade to a fixed version: 1.7.
Summary
mini-snmpd, a minimal SNMP agent, has an out-of-bounds read flaw in its request parser that can be reached remotely over the network without logging in. An attacker can send a single crafted request to UDP port 161 to crash the process and possibly read nearby memory.
Original 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.
Who should check
Teams running troglobit mini-snmpd 1.6 or earlier, including master builds, with the SNMP agent listening on UDP/161
“Affects all versions up”
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.2/10CVSS 8.2
- No patch0/5No signal
What would change the score
- Would score about 70 if added to CISA KEV
- Would score about 65 if CISA's SSVC rates exploitation active
- Would score about 30 if advisories confirm default setups are exposed
What to do
Upgrade to a fixed version: 1.7.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-59961 (mini-snmpd: Unauthenticated out-of-bounds read in SNMP request parser (decode_oid/decode_str/decode_ptr)), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-59961 (entry last updated 2026-11-18):
Affected:
- troglobit mini-snmpd: fixed in 1.7
Fixed versions: 1.7.
Conditions (all must be true for the bug to be hit):
- mini-snmpd versions up to and including 1.6 (and the master branch before the fix) (source: https://github.com/troglobit/mini-snmpd/security/advisories/GHSA-c9g2-5ghh-8g8c)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-59961 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-59961 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-59961
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-59961"}.Timeline
- CVE published
- First seen by cve.now
Affected versions
- troglobit mini-snmpd
fixed in 1.7
Evidence 5
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · troglobit/mini-snmpd · Advisory GHSA-c9g2-5ghh-8g8c |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-59961 |
| Record | NVD · CVE-2026-59961 |
| Other links 2 | |
| Repository | GitHub · troglobit/mini-snmpd · Commit 5419bc38 |
| Repository | GitHub · troglobit/mini-snmpd · Release v1.7 |
Corrections
None so far.
Something wrong on this page? Report an error. Every fix is listed here.
Questions about CVE-2026-59961
Is CVE-2026-59961 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data
What does this mean?
An unauthenticated remote request can read past the end of a buffer in the SNMP request parser (decode_oid, decode_str, decode_ptr). The result can be a crash of mini-snmpd, a denial of service, or disclosure of adjacent heap memory.Source: github.com
Which versions are affected by CVE-2026-59961?
mini-snmpd: before 1.7.Source: cve.now feed data
Am I affected, and how do I check?
Affects mini-snmpd versions up to and including 1.6, and the master branch before the fix. Compare the installed mini-snmpd version against these.Source: github.com
How do I fix CVE-2026-59961?
Upgrade to mini-snmpd 1.7, the fixed version.Source: github.com