Jan 8, 2026

Net-SNMP RCE without auth: CVE-2025-68615

ZDI-25-1181 | Zero Day Initiative (2025/12/23)

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.

Score Severity   Version Vector String
9.8    CRITICAL 3.1       CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Patches
Users of Net-SNMP's snmptrapd should upgrade immediately to Net-SNMP 5.9.5 or 5.10.pre2.
Other workarounds
SNMP ports should never be open to public networks. There is no mitigation available other than ensuring ports to snmptrapd are appropriately firewalled or by upgrading to the most recent versions of the Net-SNMP software: 5.9.5 or 5.10.pre2.

No comments: