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-2025-43971

CVE-2025-43971: Osrg GoBGP DOS Vulnerability

CVE-2025-43971 is a denial of service vulnerability in Osrg GoBGP that allows attackers to cause a panic via a zero softwareVersionLen value. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-43971 Overview

An input validation vulnerability has been discovered in GoBGP, an open-source BGP (Border Gateway Protocol) implementation written in Go. The vulnerability exists in pkg/packet/bgp/bgp.go where a zero value for the softwareVersionLen field triggers a panic condition, leading to a denial of service. Attackers can exploit this vulnerability remotely over the network without requiring authentication or user interaction.

Critical Impact

Remote attackers can crash GoBGP instances by sending specially crafted BGP OPEN messages with a zero-length software version capability field, causing service disruption to BGP routing infrastructure.

Affected Products

  • osrg gobgp versions prior to 3.35.0
  • GoBGP implementations using the pkg/packet/bgp/bgp.go module
  • Network infrastructure relying on vulnerable GoBGP deployments

Discovery Timeline

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

Technical Details for CVE-2025-43971

Vulnerability Analysis

This vulnerability is classified as CWE-193 (Off-by-one Error) and manifests in the Software Version Capability parser within the BGP packet handling code. The vulnerable code fails to validate that the softwareVersionLen value is non-zero before processing the software version capability data in BGP OPEN messages.

When a malformed BGP OPEN message containing a zero value for softwareVersionLen is received, the parser does not reject this invalid input. This leads to improper memory access patterns that trigger a Go panic, immediately terminating the GoBGP process. Since BGP is a critical routing protocol used in network backbone infrastructure, this denial of service can have cascading effects on network routing stability.

The vulnerability is exploitable from the network without authentication, making it particularly dangerous for internet-facing BGP implementations.

Root Cause

The root cause is an incomplete boundary check in the CapabilitySoftwareVersion parser. The original validation logic checked whether softwareVersionLen exceeded 64 bytes and whether there was sufficient data in the buffer, but failed to validate that the length was greater than zero. This off-by-one error in the boundary condition allows a zero-length value to pass validation, subsequently causing a panic when the code attempts to process zero bytes of version data.

Attack Vector

The attack vector is network-based, requiring no privileges or user interaction. An attacker can craft a malicious BGP OPEN message containing a Software Version capability with softwareVersionLen set to zero. When a vulnerable GoBGP instance processes this message during the BGP session establishment phase, it triggers the panic condition and crashes the BGP daemon.

go
	return NewMessageError(BGP_ERROR_OPEN_MESSAGE_ERROR, BGP_ERROR_SUB_UNSUPPORTED_CAPABILITY, nil, "Not all CapabilitySoftwareVersion bytes allowed")
	}
	softwareVersionLen := uint8(data[0])
-	if len(data[1:]) < int(softwareVersionLen) || softwareVersionLen > 64 {
+	if len(data[1:]) < int(softwareVersionLen) || softwareVersionLen > 64 || softwareVersionLen == 0 {
		return NewMessageError(BGP_ERROR_OPEN_MESSAGE_ERROR, BGP_ERROR_SUB_UNSUPPORTED_CAPABILITY, nil, "invalid length of software version capablity")
	}
	c.SoftwareVersionLen = softwareVersionLen

Source: GitHub Commit Reference

Detection Methods for CVE-2025-43971

Indicators of Compromise

  • Unexpected GoBGP process crashes or restarts with panic-related error messages
  • BGP session flapping or repeated connection resets from specific peers
  • Log entries indicating malformed BGP OPEN messages or capability parsing errors
  • Network monitoring alerts showing anomalous BGP traffic patterns

Detection Strategies

  • Monitor GoBGP process stability and implement alerting on unexpected terminations
  • Analyze BGP packet captures for OPEN messages with zero-length Software Version capability fields
  • Deploy network intrusion detection rules to identify malformed BGP capability parameters
  • Review system logs for Go panic stack traces originating from pkg/packet/bgp/bgp.go

Monitoring Recommendations

  • Implement BGP session state monitoring to detect rapid session cycling
  • Configure process supervision to automatically restart GoBGP instances and alert on crashes
  • Deploy packet inspection at network boundaries to detect malicious BGP messages
  • Establish baseline metrics for BGP session stability to identify anomalous behavior

How to Mitigate CVE-2025-43971

Immediate Actions Required

  • Upgrade GoBGP to version 3.35.0 or later immediately
  • Review BGP peering configurations and restrict connections to trusted peers where possible
  • Implement network-level filtering to limit BGP connections to authorized sources
  • Enable process monitoring and automatic restart capabilities for GoBGP services

Patch Information

The vulnerability has been addressed in GoBGP version 3.35.0. The fix adds a validation check to ensure softwareVersionLen is non-zero before processing. The security patch can be reviewed at the GitHub Commit Reference. A full comparison of changes between versions is available at the GitHub Version Comparison.

Workarounds

  • Implement access control lists (ACLs) to restrict BGP connections to known and trusted peers only
  • Deploy a BGP-aware firewall or intrusion prevention system to filter malformed BGP messages
  • Use TCP MD5 authentication for BGP sessions to add an additional authentication layer
  • Consider network segmentation to isolate BGP infrastructure from untrusted network segments
bash
# Example: Restrict BGP connections to trusted peer IPs using iptables
iptables -A INPUT -p tcp --dport 179 -s <trusted_peer_ip> -j ACCEPT
iptables -A INPUT -p tcp --dport 179 -j DROP

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOsrg Gobgp

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

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

  • GitHub Version Comparison
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF 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