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.
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
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
| Link | Tags |
|---|---|
| https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-snmp-x4LPhte | MitigationVendor Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-20352 | US Government Resource |
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.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
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.