CVE-2025-20352
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.
Summary dbcve.org
Stack overflow vulnerability in Cisco IOS/IOS XE SNMP subsystem allows authenticated remote attackers to cause device reload (DoS) with low-privilege SNMP credentials, or achieve root-level code execution with high-privilege SNMP and administrative credentials. Exploitation occurs via crafted SNMP packets over IPv4/IPv6.
Mitigation
Apply Cisco-provided patches for IOS/IOS XE; restrict SNMP access via ACLs; disable SNMPv1/v2c and enforce SNMPv3 with authentication/encryption; limit administrative access.