The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-20846

CVE-2022-20846: Cisco IOS XR Buffer Overflow Vulnerability

CVE-2022-20846 is a heap buffer overflow flaw in Cisco IOS XR Software affecting the Cisco Discovery Protocol. Adjacent attackers can exploit this to crash the CDP process. This article covers technical details.

Published: February 11, 2026

CVE-2022-20846 Overview

A heap buffer overflow vulnerability exists in the Cisco Discovery Protocol (CDP) implementation for Cisco IOS XR Software. This vulnerability could allow an unauthenticated, adjacent attacker to cause the CDP process to reload on affected devices by sending specially crafted CDP packets.

The vulnerability arises from improper handling of certain CDP messages, leading to a heap buffer overflow condition. While the bytes that can be written in the overflow are restricted—limiting remote code execution potential—a successful exploit still enables denial of service through process crashes.

Critical Impact

An unauthenticated attacker on the same Layer 2 broadcast domain can cause CDP process reloads on vulnerable Cisco IOS XR devices, potentially disrupting network discovery and management operations.

Affected Products

  • Cisco IOS XR versions 6.5.x (6.5.1 through 6.5.93)
  • Cisco IOS XR versions 6.6.x through 6.9.x
  • Cisco IOS XR versions 7.0.x through 7.6.x

Discovery Timeline

  • November 15, 2024 - CVE-2022-20846 published to NVD
  • August 05, 2025 - Last updated in NVD database

Technical Details for CVE-2022-20846

Vulnerability Analysis

This vulnerability is classified as CWE-120 (Buffer Copy without Checking Size of Input), commonly known as a classic buffer overflow. The flaw exists in how Cisco IOS XR Software processes incoming CDP packets, where insufficient bounds checking on packet data allows an attacker to overflow a heap-allocated buffer.

CDP operates at Layer 2 of the OSI model, meaning exploitation requires the attacker to be in the same broadcast domain as the targeted device. This adjacency requirement limits the attack surface to local network segments, but within enterprise environments, this could still represent significant exposure across data center or campus networks where CDP is commonly enabled for device discovery and management.

The restricted nature of the bytes that can be written during the overflow limits the ability to achieve arbitrary code execution, but the denial of service impact through process crashes remains a viable attack outcome.

Root Cause

The root cause is a heap buffer overflow vulnerability in the CDP message parsing code within Cisco IOS XR Software. When processing malformed or oversized CDP packets, the software fails to properly validate the size of input data before copying it into a fixed-size heap buffer, resulting in a buffer overflow condition.

Attack Vector

The attack requires adjacent network access, meaning the attacker must be positioned within the same Layer 2 broadcast domain as the target device. No authentication or user interaction is required for exploitation. The attacker sends a maliciously crafted CDP packet to the affected device, which triggers the heap buffer overflow when the CDP process attempts to parse the packet.

Since CDP is a link-layer protocol, the malicious packet is processed by any CDP-enabled interface receiving it. Network segmentation and VLAN isolation can help limit exposure, but any device sharing a Layer 2 segment with the attacker is potentially vulnerable.

The vulnerability mechanism involves malformed CDP packets that exceed expected buffer boundaries during message parsing. When the CDP process receives these specially crafted packets, it attempts to copy data into a heap buffer without adequate size validation, leading to memory corruption and subsequent process termination. Technical details are available in the Cisco Security Advisory.

Detection Methods for CVE-2022-20846

Indicators of Compromise

  • Unexpected CDP process crashes or restarts on Cisco IOS XR devices
  • System logs showing CDP process termination with memory-related errors
  • Unusual CDP packet activity or malformed CDP frames captured in network traffic
  • Repeated CDP service interruptions correlating with suspicious network activity

Detection Strategies

  • Monitor system logs for CDP process crashes using syslog collection and SIEM correlation
  • Implement network packet capture on critical segments to detect malformed CDP packets
  • Deploy IDS/IPS rules to identify anomalous CDP traffic patterns
  • Review device health monitoring for unexpected CDP service restarts

Monitoring Recommendations

  • Enable logging of CDP-related events on affected Cisco IOS XR devices
  • Configure SNMP traps for process failures to receive real-time alerts
  • Establish baseline CDP traffic patterns to identify anomalies
  • Implement centralized log aggregation for cross-device correlation

How to Mitigate CVE-2022-20846

Immediate Actions Required

  • Identify all Cisco IOS XR devices running vulnerable versions (6.5.x through 7.6.x)
  • Apply Cisco security updates as described in the vendor advisory
  • Consider disabling CDP on interfaces where it is not required
  • Implement network segmentation to limit Layer 2 adjacency exposure

Patch Information

Cisco has released software updates that address this vulnerability. Organizations should consult the Cisco Security Advisory for CVE-2022-20846 for specific fixed software versions and upgrade guidance. This advisory was part of the September 2022 release of the Cisco IOS XR Software Security Advisory Bundled Publication.

Workarounds

  • There are no workarounds that address this vulnerability according to Cisco
  • As a defense-in-depth measure, disable CDP on interfaces not requiring device discovery
  • Implement strict Layer 2 network segmentation to limit attacker adjacency
  • Consider using Link Layer Discovery Protocol (LLDP) as an alternative where CDP is not essential
bash
# Disable CDP on specific interfaces (defense-in-depth measure only)
interface GigabitEthernet0/0/0/0
  no cdp

# Disable CDP globally if not required
no cdp

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechCisco Ios Xr

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability1.98%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-120
  • Technical References
  • Cisco Security Advisory: IOS XR BNG

  • Cisco Security Advisory: NCS4K TL1
  • Vendor Resources
  • Cisco Security Advisory: XR CDP
  • Related CVEs
  • CVE-2026-20118: Cisco IOS XR Software DoS Vulnerability

  • CVE-2026-20074: Cisco IOS XR IS-IS DoS Vulnerability

  • CVE-2026-20046: Cisco IOS XR Privilege Escalation Flaw

  • CVE-2026-20040: Cisco IOS XR Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English