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
    • 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-2025-43973

CVE-2025-43973: Osrg GoBGP Input Validation Vulnerability

CVE-2025-43973 is an input validation flaw in Osrg GoBGP that fails to verify RTR message input length. This vulnerability affects versions before 3.35.0. This post covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-43973 Overview

An input validation vulnerability was discovered in GoBGP before version 3.35.0. The vulnerability exists in pkg/packet/rtr/rtr.go, where the RTR (RPKI-to-Router) message parser fails to verify that the input length corresponds to a situation in which all bytes are available for an RTR message. This off-by-one error (CWE-193) can be exploited remotely without authentication, potentially leading to memory corruption or denial of service conditions.

Critical Impact

Remote attackers can exploit insufficient input length validation in the RTR message parser to potentially cause memory corruption, unauthorized data access, or complete system compromise without requiring authentication.

Affected Products

  • GoBGP versions prior to 3.35.0
  • osrg gobgp (all versions before the security patch)

Discovery Timeline

  • 2025-04-21 - CVE-2025-43973 published to NVD
  • 2025-05-08 - Last updated in NVD database

Technical Details for CVE-2025-43973

Vulnerability Analysis

This vulnerability stems from an off-by-one error (CWE-193) in the RTR message parsing functionality of GoBGP. The RTR protocol is used to deliver RPKI (Resource Public Key Infrastructure) data from RPKI cache servers to BGP routers, making this a critical component in network routing security infrastructure.

The vulnerable code in pkg/packet/rtr/rtr.go processes incoming RTR messages without first validating that sufficient bytes are available in the input buffer. When the parser attempts to access data[1] to determine the message type via a switch statement, it does so without confirming that at least one byte exists in the input data. This boundary condition error can be triggered remotely over the network.

The vulnerability allows an unauthenticated network attacker to send malformed RTR messages with insufficient data, potentially triggering out-of-bounds memory access, crashes, or exploitable conditions that could lead to arbitrary code execution.

Root Cause

The root cause is a missing bounds check in the ParseRTR function within pkg/packet/rtr/rtr.go. The function immediately attempts to access array indices without first validating that the input slice contains sufficient data. This is a classic off-by-one error where the code assumes data availability without explicit verification, leading to potential out-of-bounds access when processing malformed or truncated RTR messages.

Attack Vector

The attack can be executed remotely over the network. An attacker can send specially crafted RTR messages with truncated or empty payloads to a GoBGP instance that processes RTR protocol data. Since no authentication or user interaction is required, the attack surface is significant for any GoBGP deployment processing RTR messages from untrusted or compromised RPKI cache servers.

go
// Security patch from pkg/packet/rtr/rtr.go
// Source: https://github.com/osrg/gobgp/commit/5693c58a4815cc6327b8d3b6980f0e5aced28abe

 }
 
 func ParseRTR(data []byte) (RTRMessage, error) {
+	if len(data) < 1 {
+		return nil, fmt.Errorf("not all bytes are available for RTR message")
+	}
 	var msg RTRMessage
 	switch data[1] {
 	case RTR_SERIAL_NOTIFY:

The patch adds a critical length validation check before attempting to access the message type byte, ensuring the parser fails safely when presented with insufficient data.

Detection Methods for CVE-2025-43973

Indicators of Compromise

  • Unexpected crashes or restarts of GoBGP daemon processes
  • Unusual RTR protocol traffic patterns or malformed RTR messages in network captures
  • Log entries indicating RTR parsing errors or panics in pkg/packet/rtr/rtr.go
  • Memory corruption indicators or abnormal memory usage in GoBGP processes
  • Suspicious connections from unknown sources to RTR protocol ports (typically TCP 8282)

Detection Strategies

  • Monitor GoBGP process stability and look for unexpected crashes or restarts
  • Implement network traffic analysis to detect malformed or truncated RTR messages
  • Deploy application-level logging to capture RTR parsing failures and errors
  • Use runtime application self-protection (RASP) to detect out-of-bounds memory access attempts

Monitoring Recommendations

  • Enable verbose logging for RTR protocol message processing in GoBGP
  • Monitor system resources for GoBGP processes including memory usage and CPU spikes
  • Implement alerting on RTR connection anomalies from RPKI cache servers
  • Regularly review GoBGP logs for parsing errors or unexpected exceptions

How to Mitigate CVE-2025-43973

Immediate Actions Required

  • Upgrade GoBGP to version 3.35.0 or later immediately
  • Review RTR protocol connections and restrict access to trusted RPKI cache servers only
  • Implement network segmentation to limit exposure of GoBGP RTR interfaces
  • Monitor GoBGP instances for signs of exploitation attempts while planning upgrades

Patch Information

The vulnerability has been addressed in GoBGP version 3.35.0. The security fix was committed to the repository with commit hash 5693c58a4815cc6327b8d3b6980f0e5aced28abe. Organizations should upgrade from any version prior to 3.35.0 to receive the security patch.

For detailed information about the patch, refer to the GitHub Commit Details or review the Version Comparison between v3.34.0 and v3.35.0.

Workarounds

  • Restrict RTR protocol access using firewall rules to only allow connections from trusted RPKI cache servers
  • Implement network access controls to limit which sources can send RTR messages to GoBGP instances
  • Deploy an intrusion prevention system (IPS) with rules to detect and block malformed RTR messages
  • Consider temporarily disabling RTR functionality if not immediately required until patching is complete
bash
# Example: Restrict RTR port access to trusted RPKI cache servers only
iptables -A INPUT -p tcp --dport 8282 -s trusted_rpki_cache_ip -j ACCEPT
iptables -A INPUT -p tcp --dport 8282 -j DROP

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechGobgp

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-193
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Version Comparison
  • Related CVEs
  • CVE-2026-5122: osrg GoBGP Auth Bypass Vulnerability

  • CVE-2026-5123: GoBGP Buffer Overflow Vulnerability

  • CVE-2026-5124: GoBGP Authentication Bypass Vulnerability

  • CVE-2026-30405: GoBGP gobgpd DoS Vulnerability
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