Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach mini-snmpd on UDP/161
-
DeliveryCraft SNMP GET with oversized BER length
-
ExploitUnderflow bypasses decode_str/oid/ptr bounds check
-
ExecutionDecoder reads past 2048-byte buffer
-
ImpactWorker crashes (DoS) and adjacent heap may leak
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of mini-snmpd (troglobit) versions up to and including 1.6, wherever the agent is listening on UDP/161. The crafted request only needs an inner OID or string TLV whose BER length exceeds the datagram size; decode_str()/decode_oid()/decode_ptr() lack the 'len > size' guard that decode_int()/decode_cnt() already have, and parsing runs before the community string is validated, so no credentials are required. Limiting factors: the attacker must be able to reach UDP/161 (network segmentation, firewalling, or disabling the agent prevents reach), and the impact is bounded to an out-of-bounds READ - reliable crash plus possible heap disclosure, with no integrity/write primitive. Instances already on 1.7 are not affected. |
| Impact | This is a credible near-term priority rather than a high-CVSS paper risk, though impact is bounded. The CVSS vector (AV:N/AC:L/PR:N/UI:N) is fully consistent with the mechanism: parsing of the ASN.1/BER length field happens before the SNMP community string is checked, so a single crafted UDP/161 datagram triggers the flaw with no authentication and low complexity. The GHSA advisory confirms a reproducer (poc_snmp.c) verified under AddressSanitizer, so exploitability for the denial-of-service path is demonstrated, not theoretical - a public PoC reference exists, though the provided input does not label it as confirmed working exploit code. The vuln.today decision label is 'this_week', aligning with a reachable unauthenticated bug. No CISA KEV listing and no EPSS score were provided, so there is no evidence of active in-the-wild exploitation and no modeled exploitation probability to weigh; the realistic signal is a reliable crash (A:H) plus potential adjacent heap disclosure (C:L, out-of-bounds READ only - there is no write primitive described, so code execution is not indicated). Net: high real risk of remote DoS against exposed agents, lower but non-zero risk of memory disclosure; prioritize for exposed instances but recognize integrity is unaffected (I:N). |
| Exploit ScenarioDerived | A remote, unauthenticated attacker sends one crafted SNMP GET to UDP/161 in which an inner OID or string TLV declares a BER length (e.g. 0xFFFF) far larger than the ~60-byte datagram. The size_t underflow in the bounds check lets the decoder read up to ~63 KB past the 2048-byte packet buffer, crashing the worker and potentially leaking adjacent heap memory into the response. A PoC reproducer (poc_snmp.c) verified under AddressSanitizer is described in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Remote, unauthenticated attackers can crash troglobit mini-snmpd 1.6 and earlier, and potentially read adjacent heap memory, by sending a single crafted SNMP request to UDP/161 whose inner OID or string TLV declares a BER length larger than the datagram itself. Parsing happens before the community string is validated, so no credentials are required; the resulting out-of-bounds read gives a reliable denial of service and only limited confidentiality exposure, with no write primitive. The flaw is fixed in mini-snmpd 1.7, a public PoC reproducer is attached to the vendor advisory (verified under AddressSanitizer as a heap-buffer-overflow READ), and this is a credible near-term (this week) priority rather than an emergency, in line with its assessed CVSS:3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.
RemediationAI
Vendor-released patch: 1.7 - upgrade mini-snmpd to version 1.7 or later (release tag https://github.com/troglobit/mini-snmpd/releases/tag/v1.7), or backport commit 5419bc3816a09b7a2ca38c47f0888ad01c8fe897, which adds the 'len > size' guard to decode_str(), decode_oid() and decode_ptr() as already used by decode_int() and decode_cnt(). Details are in advisory https://github.com/troglobit/mini-snmpd/security/advisories/GHSA-c9g2-5ghh-8g8c. Until patched, the practical compensating control is to prevent reachability of UDP/161 - firewall or network-segment the agent so only trusted management hosts can poll it, or stop/disable the agent entirely where it is not needed - accepting that this blocks legitimate SNMP polling and monitoring; note the impact is bounded to an out-of-bounds read (crash plus possible heap disclosure) with no integrity or write primitive, and instances already on 1.7 are not affected.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
mini-snmpd is a minimal SNMP agent that hand-rolls its ASN.1 BER decoding in protocol.c rather than using a general library. decode_len() caps a BER length at 0xFFFF but never compares it against the bytes remaining in the packet (size - *pos). The per-field guards in decode_str(), decode_oid() and decode_ptr() then evaluate the expression size - len + 1 in unsigned size_t arithmetic; when the attacker-supplied len exceeds size the subtraction wraps to a huge value, the comparison *pos >= (size - len + 1) evaluates false, and the bounds check is bypassed. The decoders then read as far as ~63 KB past the fixed 2048-byte client->packet buffer, which is CWE-125 (out-of-bounds read) reached through CWE-191 (integer underflow). The sibling functions decode_int() and decode_cnt() already carried the correct form of the check (len > size || *pos >= (size - len + 1)); the 1.7 commit 5419bc3816a09b7a2ca38c47f0888ad01c8fe897 adds that missing guard to the three affected decoders and also widens decode_ptr()'s len parameter to size_t. The advisory notes this is the same bug class as CVE-2020-6058 / CVE-2020-6059 in parser functions the 2020 fix did not reach.
Know when Mini Snmpd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Single unauthenticated UDP packet parsed before auth gives AV:N/AC:L/PR:N/UI:N; out-of-bounds read yields reliable crash (A:H) and partial heap disclosure (C:L) with no write (I:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-125 (out-of-bounds read), reached via CWE-191 (integer underflow), in the ASN.1 BER parser in mini-snmpd's protocol.c.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in troglobit mini-snmpd 1.6 and earlier allows remote attackers to crash the service via a single unauthenticated SNMP request, with limited potential for reading adjacent memory. Effective exploitation could cause service disruption for network management functions, affecting operations and availability. Leadership should prioritize patching to version 1.7 to restore normal service and mitigate confidentiality risks.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-129230
NVD
CVE.org
EPSS
GitHub
Exploit-DB