CVE-2026-138295 in Net-SNMPinfo

Summary

by MITRE • 11/28/2026

Net-SNMP snmpd through 5.9.5.2 and 5.10.pre1 before 5.10.pre3 contains a heap out-of-bounds write vulnerability in view_parse_oid() that allows authenticated attackers with SNMP write access to corrupt heap memory. Attackers can send a single SET to vacmViewTreeFamilyTable whose index begins with sub-identifier 4294967295, causing a one-byte write before a malloc(0) allocation and crashing snmpd.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/28/2026

The vulnerability identified in Net-SNMP versions through 5.9.5.2 and the pre-release version 5.10.pre3 represents a critical heap-based buffer overflow within the SNMP daemon service, specifically located in the view_parse_oid function. This flaw arises from an insufficient validation of input parameters during the parsing of Access Control Model (ACM) configuration data. The vulnerability is classified under CWE-787 as a heap out-of-bounds write, which allows for memory corruption that can lead to denial of service or potentially arbitrary code execution depending on the specific memory layout and exploitation context.

The operational mechanism involves an authenticated attacker who possesses SNMP write access privileges interacting with the vacmViewTreeFamilyTable. This table is part of the View-based Access Control Model used by Net-SNMP to define which parts of the Management Information Base are accessible to different users or groups. The specific trigger for this vulnerability occurs when a SET request is sent containing an index that begins with the sub-identifier 4294967295, which corresponds to UINT32_MAX in unsigned 32-bit integer representation. This extreme value causes an arithmetic underflow or incorrect boundary calculation within the parsing logic, leading to a write operation that targets memory one byte before a malloc(0) allocation block.

The immediate impact of this vulnerability is the corruption of heap metadata and adjacent memory structures. Because the write occurs just prior to a zero-length allocation, it disrupts the allocator's internal bookkeeping data. This typically results in an immediate crash or segmentation fault within the snmpd process, leading to a denial of service condition for all SNMP operations on the affected system. While the primary observed effect is stability loss, heap corruption vulnerabilities are inherently dangerous as they can be leveraged by sophisticated attackers to manipulate control flow, potentially achieving remote code execution if the attacker can precisely control the memory layout and subsequent allocations.

From a threat intelligence perspective, this vulnerability aligns with MITRE ATT&CK techniques related to resource hijacking or denial of service via application layer attacks. The requirement for authentication limits the attack surface compared to unauthenticated exploits but remains significant in environments where SNMP write access is granted to trusted management stations that may themselves be compromised. Attackers who have gained initial foothold through other means can utilize this flaw to disrupt network monitoring and management capabilities, effectively blinding administrators to security events or system health metrics.

Mitigation strategies should prioritize immediate patching of the Net-SNMP software to versions 5.10.pre3 and later where this logic error has been corrected by developers implementing proper bounds checking for OID indices. In environments where upgrading is not immediately feasible, network segmentation policies should be enforced to restrict SNMP write access strictly to authorized management consoles over secure channels. Additionally, deploying intrusion detection systems capable of identifying anomalous SNMP SET requests with extreme integer values can provide a layer of defense against exploitation attempts. Regular auditing of SNMP community strings and user permissions further reduces the risk by ensuring that only essential privileges are granted for configuration changes.

Responsible

VulnCheck

Reservation

11/28/2026

Disclosure

11/28/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!