ZDI-CAN-27507: 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-CAN-27507?
The severity of ZDI-CAN-27507 is rated at 9.8, indicating a critical vulnerability.
What does ZDI-CAN-27507 allow an attacker to do?
ZDI-CAN-27507 allows remote attackers to execute arbitrary code on affected installations of Net-SNMP.
Is authentication required to exploit ZDI-CAN-27507?
No, authentication is not required to exploit ZDI-CAN-27507.
Which software versions are affected by ZDI-CAN-27507?
ZDI-CAN-27507 affects all installations of Net-SNMP.
How do I fix ZDI-CAN-27507?
To fix ZDI-CAN-27507, it is recommended to apply the latest security patches released by Net-SNMP.