CVE-2026-59961
Received Received - Intake

ASN.1 BER Parser Buffer Overflow in mini-snmpd

Vulnerability report for CVE-2026-59961, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-18

Last updated on: 2026-11-18

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-18
Last Modified
2026-11-18
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
mini-snmpd mini-snmpd to 1.7 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in mini-snmpd, a minimal SNMP agent. The ASN.1 BER parser in protocol.c fails to check if an attacker-controlled field length exceeds the remaining packet size before processing. This causes unsigned integer wrap-around, bypassing bounds checks and allowing reads beyond a 2048-byte buffer. A remote unauthenticated attacker can exploit this by sending one crafted UDP request to port 161 to crash the process or potentially leak adjacent heap memory.

Detection Guidance

Detecting this vulnerability requires monitoring for crashes or unusual memory access patterns in mini-snmpd. Check logs for segmentation faults or heap corruption errors. Use network monitoring tools like tcpdump or Wireshark to capture UDP traffic on port 161 and inspect packets for malformed SNMP requests. Test with a crafted packet matching the vulnerability's characteristics.

Impact Analysis

An attacker could crash the mini-snmpd service remotely without authentication, causing denial of service. They might also read adjacent memory, potentially exposing sensitive data. Since parsing occurs before authentication checks, the service is vulnerable even if community strings are configured.

Compliance Impact

This vulnerability could lead to unauthorized data access or service disruption, violating confidentiality and availability requirements in GDPR and HIPAA. Organizations using affected versions may face compliance violations due to insufficient security controls against remote attacks.

Mitigation Strategies

Upgrade mini-snmpd to version 1.7 or later immediately. If upgrading is not possible, disable the SNMP service on UDP port 161 or restrict access using a firewall. Monitor for exploitation attempts and apply patches as soon as they become available.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59961. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...