← Vulnerability feed

Vulnerability record · CVE-2025-20352 · published 24 September 2025

CVE-2025-20352: Cisco IOS and IOS XE SNMP stack overflow allows DoS and root code execution

Cisco · Ios Xe Sd Wan

A stack-based buffer overflow in the SNMP subsystem of Cisco IOS and IOS XE Software can be triggered by a crafted SNMP packet sent over IPv4 or IPv6. An attacker holding an SNMPv2c or earlier read-only community string, or valid SNMPv3 credentials, can crash the device; with administrative or privilege 15 credentials on IOS XE, the same flaw can yield root-level code execution. The advisory notes all versions of SNMP are affected.

7.7 CVSS 3.1 High CISA KEV since 29 Sep 2025 EPSS 39% · top 1.4% CWE-121 · Stack-based buffer overflow
7.7CVSS 3.1 base score
39%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
3Affected product versions listed by NVD
2References
26 Sep 2026Last modified by NVD

Description

A vulnerability in the Simple Network Management Protocol (SNMP) subsystem of Cisco IOS Software and Cisco IOS XE Software could allow the following: An authenticated, remote attacker with low privileges could cause a denial of service (DoS) condition on an affected device that is running Cisco IOS Software or Cisco IOS XE Software. To cause the DoS, the attacker must have the SNMPv2c or earlier read-only community string or valid SNMPv3 user credentials. An authenticated, remote attacker with high privileges could execute code as the root user on an affected device that is running Cisco IOS XE Software. To execute code as the root user, the attacker must have the SNMPv1 or v2c read-only community string or valid SNMPv3 user credentials and administrative or privilege 15 credentials on the affected device. An attacker could exploit this vulnerability by sending a crafted SNMP packet to an affected device over IPv4 or IPv6 networks. This vulnerability is due to a stack overflow condition in the SNMP subsystem of the affected software. A successful exploit could allow a low-privileged attacker to cause the affected system to reload, resulting in a DoS condition, or allow a high-privileged attacker to execute arbitrary code as the root user and obtain full control of the affected system. Note: This vulnerability affects all versions of SNMP.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityThe flaw is in CISA KEV with known exploitation, carries a high EPSS probability, and can lead to root-level code execution on IOS XE devices.

What it is

A stack-based buffer overflow in the SNMP subsystem of Cisco IOS and IOS XE Software can be triggered by a crafted SNMP packet sent over IPv4 or IPv6. An attacker holding an SNMPv2c or earlier read-only community string, or valid SNMPv3 credentials, can crash the device; with administrative or privilege 15 credentials on IOS XE, the same flaw can yield root-level code execution. The advisory notes all versions of SNMP are affected.

Impact

A low-privileged authenticated attacker can reload the device, causing a denial of service. A high-privileged authenticated attacker on IOS XE can execute arbitrary code as root and take full control of the device.

Attack surface

Reachable remotely over the network via crafted SNMP packets on IPv4 or IPv6; no user interaction is required, but the attacker must already possess SNMP read-only community strings or valid SNMPv3 credentials, and for code execution also administrative or privilege 15 credentials.

Exploitation

CVE-2025-20352 was added to CISA KEV on 2025-09-29 with a remediation due date of 2025-10-20, indicating known exploitation; EPSS shows a 30-day probability of roughly 39 percent (98.5th percentile). No ransomware campaign use is documented.

What to do

  • Apply the Cisco IOS/IOS XE software updates referenced in the vendor advisory cisco-sa-snmp-x4LPhte as soon as possible.
  • If patching is not immediately possible, apply the mitigations in the Cisco advisory or discontinue use of the affected product per CISA BOD 22-01 guidance.
  • Restrict SNMP access to trusted management networks and hosts using ACLs and infrastructure ACLs, and disable SNMP where it is not required.
  • Rotate SNMP community strings and SNMPv3 credentials, and remove default or widely shared read-only community strings.
  • Limit administrative and privilege 15 credentials to the smallest possible set of accounts and devices.

Detection

  • Monitor device logs and SNMP traps for unexpected reloads, crashes or restarts of IOS/IOS XE devices.
  • Alert on SNMP traffic from hosts outside approved management networks or on anomalous SNMP request patterns and packet sizes.
  • Audit SNMP configuration for enabled SNMPv1/v2c community strings and SNMPv3 users, and review authentication logs for use of administrative or privilege 15 accounts.
  • Correlate unexpected device reloads with recent SNMP requests to the affected device to identify potential exploitation attempts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2025-20352 to the Known Exploited Vulnerabilities catalog on 29 September 2025 as "Cisco IOS and IOS XE Software SNMP Denial of Service and Remote Code Execution Vulnerability". Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Federal deadline 20 October 2025.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-20352 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2023-20198Cisco IOS XE Web UI unauthenticated privilege escalation and implant deploymentCVE-2023-20198 is a critical flaw in the Cisco IOS XE web UI that lets an unauthenticated remote attacker gain initial access and create a local priv…KEVEPSS 100%analysed9.8CVE-2018-0171Cisco IOS Smart Install improper input validation allows remote code executionCisco IOS and IOS XE Smart Install fails to properly validate packet data, so a crafted Smart Install message sent to TCP port 4786 can overflow a bu…KEVEPSS 99%analysed9.8CVE-2018-0151Cisco IOS/IOS XE QoS UDP Port 18999 Buffer OverflowCisco IOS and IOS XE contain a buffer overflow in the QoS subsystem caused by incorrect bounds checking of values in packets sent to UDP port 18999. …KEVEPSS 14%analysed9.8CVE-2017-12240Cisco IOS and IOS XE DHCP Relay Buffer Overflow RCEThe DHCP relay subsystem in Cisco IOS 12.2 through 15.6 and Cisco IOS XE contains a buffer overflow caused by improper input validation of DHCPv4 pac…KEVEPSS 14%analysed9.8CVE-2017-3881Cisco IOS/IOS XE CMP Telnet Option Handling RCECisco IOS and IOS XE fail to restrict CMP-specific Telnet options to internal cluster communications and mishandle malformed CMP Telnet options, so a…KEVEPSS 99%analysed8.8CVE-2018-0167Cisco IOS, IOS XE and IOS XR LLDP buffer overflowMultiple buffer overflow flaws exist in the Link Layer Discovery Protocol (LLDP) subsystem of Cisco IOS, IOS XE and IOS XR Software. An unauthenticat…KEVEPSS 3.4%analysed8.8CVE-2017-6736Cisco IOS and IOS XE SNMP buffer overflow remote code executionThe SNMP subsystem in Cisco IOS and IOS XE contains a buffer overflow that can be triggered by a crafted SNMP packet sent over IPv4 or IPv6. It affec…KEVEPSS 70%analysed8.8CVE-2017-6737Cisco IOS and IOS XE SNMP Buffer Overflow RCECisco IOS and IOS XE contain a buffer overflow in the SNMP implementation that affects SNMPv1, v2c, and v3. An authenticated remote attacker who know…KEVEPSS 45%analysed

Source: NIST National Vulnerability Database (record CVE-2025-20352), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.