Advisory Details

December 23rd, 2025

Net-SNMP SnmpTrapd Agent Message Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-25-1181
ZDI-CAN-27507

CVE ID CVE-2025-68615
CVSS SCORE 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Net-SNMP
AFFECTED PRODUCTS Net-SNMP
VULNERABILITY DETAILS

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.

ADDITIONAL DETAILS Net-SNMP has issued an update to correct this vulnerability. More details can be found at:
https://github.com/net-snmp/net-snmp/security/advisories/GHSA-4389-rwqf-q9gq
DISCLOSURE TIMELINE
  • 2025-07-25 - Vulnerability reported to vendor
  • 2025-12-23 - Coordinated public release of advisory
  • 2025-12-23 - Advisory Updated
CREDIT buddurid
BACK TO ADVISORIES