ZDI-25-1181: Net-SNMP SnmpTrapd Agent Message Stack-based Buffer Overflow Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Net-SNMP. Authentication is not required to exploit this vulnerability. The specific flaw exists within the SnmpTrapd service, which listens on UDP port 162 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Net-SNMP. Authentication is not required to exploit this vulnerability. The ZDI has assigned a CVSS rating of 9.8. The following CVEs are assigned: CVE-2025-68615.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-1181?
The severity of ZDI-25-1181 is rated as 9.8 on the CVSS scale.
How do I fix ZDI-25-1181?
To fix ZDI-25-1181, you should update to the latest version of Net-SNMP that addresses this vulnerability.
What type of attack can be executed due to ZDI-25-1181?
ZDI-25-1181 allows remote attackers to execute arbitrary code on affected installations of Net-SNMP.
Is authentication required to exploit ZDI-25-1181?
No, authentication is not required to exploit the ZDI-25-1181 vulnerability.
What is the CVE associated with ZDI-25-1181?
The CVE associated with ZDI-25-1181 is CVE-2025-68615.