CVE-2025-68615
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-68615 is a critical stack-based buffer overflow vulnerability in the net-snmp snmptrapd daemon that allows unauthenticated remote attackers to crash the daemon or potentially execute arbitrary code. It was discovered by researcher "buddurid" working with Trend Micro Zero Day Initiative and publicly disclosed on December 22–23, 2025. All net-snmp versions prior to 5.9.5 and 5.10.pre2 are affected, including distributions such as Debian Linux 11.0, Microsoft Azure Linux (CBL2/AZL3 with net-snmp 5.9.4-1), and Oracle products. The vulnerability carries a CVSS v3.1 base score of 9.8 (Critical) (GitHub Advisory, ZDI Advisory).

Technical details

The root cause is improper restriction of operations within the bounds of a memory buffer (CWE-119), specifically a lack of validation of the length of user-supplied data before copying it into a fixed-length stack-based buffer within the snmptrapd service. The snmptrapd daemon listens on UDP port 162 by default, and a specially crafted SNMP packet sent to this port can trigger the overflow without any authentication or user interaction required. According to the Zero Day Initiative advisory, successful exploitation allows an attacker to execute arbitrary code in the context of the service account (oss-security, ZDI Advisory). No special preconditions beyond network reachability to the snmptrapd port are required.

Impact

Successful exploitation can result in a crash of the snmptrapd daemon (denial of service), disrupting SNMP trap processing and network monitoring capabilities across affected environments. Beyond availability, the CVSS score reflects high confidentiality and integrity impact, meaning a fully weaponized exploit could allow arbitrary code execution as the service account, potentially enabling lateral movement within the network. Organizations relying on net-snmp for infrastructure monitoring — including enterprise networks, telecom environments, and cloud platforms (Microsoft Azure Linux, Oracle products) — face significant risk of monitoring blind spots and potential system compromise (GitHub Advisory, ZDI Advisory).

Exploitability

Proof-of-concept exploit information is publicly available via the Zero Day Initiative advisory (ZDI-25-1181) and a detection/PoC script published on Vicarius vSociety. No confirmed in-the-wild exploitation has been reported as of the time of this report. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.023% (0.000230), indicating a currently low probability of exploitation in the wild, though the unauthenticated network attack vector and critical CVSS score make it a high-priority patching target (ZDI Advisory, Vicarius).

Exploitation steps

  1. Reconnaissance: Identify hosts running net-snmp's snmptrapd daemon using network scanners (e.g., Shodan, Censys, or nmap targeting UDP port 162). Confirm the version is prior to 5.9.5 or 5.10.pre2.
  2. Craft malicious SNMP packet: Construct a specially crafted SNMP trap packet containing an oversized field that exceeds the fixed-length stack buffer in the snmptrapd message handling code. Tools such as Scapy or custom scripts can be used to build the malformed packet.
  3. Send packet to target: Transmit the crafted UDP packet to the target host on port 162 (the default snmptrapd listening port). No authentication credentials are required.
  4. Trigger buffer overflow: The daemon copies the user-supplied data into a fixed-length stack buffer without length validation, causing a stack-based buffer overflow.
  5. Achieve objective: Depending on exploit sophistication, the outcome ranges from crashing the snmptrapd daemon (denial of service) to achieving arbitrary code execution in the context of the service account via return-oriented programming (ROP) or similar techniques (ZDI Advisory, oss-security).

Indicators of compromise

  • Network: Unexpected or malformed UDP packets arriving on port 162 from untrusted or external IP addresses; unusual traffic volume targeting the snmptrapd port.
  • Logs: Sudden termination or crash entries for the snmptrapd process in system logs (e.g., /var/log/syslog, /var/log/messages); segmentation fault or signal 11 (SIGSEGV) entries associated with the snmptrapd process.
  • Process: Unexpected restart of the snmptrapd daemon; unusual child processes spawned by snmptrapd (e.g., shell processes); core dump files generated in the working directory of snmptrapd.
  • File System: Presence of core dump files (e.g., core, core.<pid>) in directories associated with the snmptrapd service; unexpected new files or scripts in directories writable by the service account.

Mitigation and workarounds

Upgrade net-snmp to version 5.9.5 (stable) or 5.10.pre2 (development) immediately, as these are the only versions containing the fix (GitHub Advisory). Distribution-specific patches are available for Debian (DLA-4430-1, DSA-6098-1), Red Hat (RHSA-2026:0668, RHSA-2026:0696, RHSA-2026:0750, RHSA-2026:0810, RHSA-2026:0812, RHSA-2026:0815, RHSA-2026:0852, RHSA-2026:0853, RHSA-2026:0926), Ubuntu (USN-7944-1), Slackware (SSA-2025-359-01), Mageia (MGASA-2026-0008), Amazon Linux 2 (ALAS2-2026-3124), SUSE, and Oracle (lists.debian.org, Oracle CPU). As an interim workaround where patching is not immediately possible, restrict network access to UDP port 162 using firewall rules or network segmentation to allow only trusted SNMP management hosts to reach snmptrapd.

Community reactions

The vulnerability received broad coverage across security media outlets including SC World, GBHackers, CyberSecurityNews, SecurityOnline, The Hacker News (weekly recap), and The Cyber Express, with several articles highlighting the potential for remote code execution and the risk to enterprise network monitoring infrastructure (SC World). Paessler (a network monitoring vendor) published a blog post emphasizing the relevance of the vulnerability to network monitoring customers (Paessler Blog). Check Point Research included it in their December 29, 2025 threat intelligence report. Ireland's NCSC published a dedicated advisory PDF for the vulnerability. The oss-security mailing list disclosure by Alan Coopersmith on January 9, 2026 further amplified awareness in the open-source security community (oss-security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

net-snmp: 5.9.3+dfsg-2+deb12u1

Fixed

sid

net-snmp: 5.9.5.2+dfsg-1

Fixed

trixie

net-snmp: 5.9.4+dfsg-2+deb13u1

Fixed

RHEL / CentOS

Fixed

OpenShift

openshift/ose-rhel-coreos-9

Affected

RHEL 8

:appstream:net-snmp-1:5.8-33.el8_10.src

Fixed

RHEL 9

:appstream:net-snmp-1:5.9.1-7.el9_0.3.src

Fixed

RHEL 10

net-snmp-1:5.9.4-15.el10_0.2.src

Fixed

Alpine

Fixed

edge

net-snmp: 5.9.5.2-r0

Fixed

v3.23

net-snmp: 5.9.5.2-r0

Fixed

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • gcc-toolset-15-binutils-devel
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management