Skip to main content

osrg GoBGP CVE-2026-7734

| EUVDEUVD-2026-26914 MEDIUM
Improper Resource Shutdown or Release (CWE-404)
2026-05-04 VulDB
6.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Network access to BGP port (179)
  2. Delivery
    Craft malformed BGP UPDATE with SRv6 L3 Service TLV
  3. Exploit
    Send packet to GoBGP instance
  4. Install
    Parser enters DecodeFromBytes function
  5. C2
    Encounter unknown sub-TLV type
  6. Execute
    Infinite loop on stlvs buffer
  7. Impact
    Exhaust CPU and memory
  8. Step 8
    Availability loss

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource release
Exploitation Conditions

The vulnerability requires GoBGP to be running and configured to accept BGP UPDATE messages from a network path controlled by the attacker. This is the default configuration for any GoBGP instance acting as a BGP speaker or route reflector. The malicious UPDATE packet must contain an SRv6 L3 Service attribute (TLV type 0x05) with a sub-TLV of unknown type (any type value not explicitly handled by the parser). The packet structure must be well-formed up to the unknown sub-TLV to trigger parsing of that attribute; otherwise, the packet may be rejected earlier in processing. No authentication or encryption of BGP sessions is required to exploit this - BGP can operate with or without MD5 authentication or other security mechanisms, and the malformed attribute alone is sufficient. The attack succeeds regardless of GoBGP's BGP configuration (AS number, neighbor count, route filtering rules) because the flaw is in the packet parsing layer that processes all inbound BGP messages before policy evaluation. The limiting factor is that the attacker must have network reachability to the GoBGP instance and must establish (or spoof) a BGP session, though depending on BGP deployment (public peer, route server, etc.), this may be trivial.

Impact

The CVSS:4.0 vector indicates a network-accessible vulnerability with low attack complexity (AC:L), no authentication required (PR:N), and no user interaction (UI:N). The impact is availability loss (VA:L), consistent with a denial-of-service condition. The exploit condition is straightforward: an attacker sends a single malformed BGP UPDATE packet containing an SRv6 L3 Service attribute with an unknown sub-TLV type. No special firewall rules, BGP sessions, or system configuration is required beyond running GoBGP in its default state. The CVSS score of 6.9 reflects moderate severity - while availability impact is real and network-reachable, the scope is limited to a single process and does not cascade to other services. Real-world risk depends on deployment: GoBGP instances exposed to untrusted BGP peers or the public Internet are at immediate risk; GoBGP in closed networks with trusted BGP neighbors only face risk if an internal system is compromised. The patch is readily available (version 4.4.0 released), and the fix is minimal (two variable name corrections), indicating this is a straightforward remediation. No evidence of active exploitation or public POC has been provided, but the attack is trivial to execute once the vulnerability is understood. This is a valid priority for operators of GoBGP deployments, particularly those in ISP or transit networks.

Exploit ScenarioDerived

An attacker on the Internet or within a BGP network crafts a BGP UPDATE message containing an SRv6 L3 Service path attribute with an unknown sub-TLV type (e.g., type 0xff) and a specified length of several bytes. The attacker transmits this packet to a GoBGP router running version 4.3.0 or earlier that accepts BGP sessions from the attacker's network. Upon receipt, GoBGP's packet parser invokes SRv6L3ServiceAttribute.DecodeFromBytes, which enters an infinite loop due to the variable reference bug, consuming CPU cycles until the GoBGP process becomes unresponsive or is killed by the operating system, disrupting BGP route convergence and potentially causing network outages.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 04, 2026

Denial of service in osrg GoBGP up to version 4.3.0 allows remote attackers to trigger an infinite loop via malformed SRv6 L3 Service attributes in BGP packets. The vulnerability exists in the SRv6L3ServiceAttribute.DecodeFromBytes function, which incorrectly advances a loop variable when processing unknown sub-TLV types, causing the parser to never exit the loop and exhaust system resources. Vendor-released patch available in version 4.4.0.

RemediationAI

Upgrade osrg GoBGP to version 4.4.0 or later immediately. The vendor-released patched version is available at https://github.com/osrg/gobgp/releases/tag/v4.4.0. The fix (commit f9f7b55ec258e514be0264871fa645a2c3edad11) corrects the variable reference in the SRv6L3ServiceAttribute.DecodeFromBytes and SRv6ServiceTLV.DecodeFromBytes functions by replacing incorrect checks and assignments of 'data' with the correct 'stlvs' variable. If immediate upgrade is not possible, operators should restrict BGP peering to trusted sources only by implementing strict ingress filtering and BGP session access control lists on border routers. This limits exposure but does not eliminate the vulnerability if any trusted peer is compromised. Monitor GoBGP process CPU and memory usage for signs of exploitation (sudden spikes under normal traffic). Consider deploying GoBGP in a container or VM with resource limits to constrain the impact of a DoS exploit to that single instance.

Affected VersionsENISA

GoBGP 4.3.0
GoBGP 4.0
GoBGP 4.2
GoBGP 4.1

Affected Packages

go github.com/osrg/gobgp/v4 fix: 4.4.0
euvd gobgp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GoBGP is a BGP (Border Gateway Protocol) implementation written in Go used for routing. The vulnerability resides in the SRv6 (Segment Routing IPv6) L3 Service attribute parsing logic within pkg/packet/bgp/prefix_sid.go. The root cause is an off-by-one variable reference bug (CWE-404: Improper Resource Validation) in the DecodeFromBytes method. When parsing sub-TLVs (Type-Length-Value structures) of unknown types, the code incorrectly checks the length of the outer 'data' buffer instead of the 'stlvs' sub-buffer, and advances the wrong variable in the loop. This causes the loop condition to never become false when encountering unknown sub-TLV types (e.g., type 0xff), resulting in an infinite loop that consumes CPU and memory until the process terminates or the system becomes unresponsive. The same bug exists in the SRv6ServiceTLV.DecodeFromBytes function in the same file. The vulnerability is triggered when a BGP speaker receives and processes a specially crafted BGP UPDATE message containing malformed SRv6 attributes.

Know when Gobgp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
May 04, 2026 - 06:22 NVD
5.3 (MEDIUM) 6.9 (MEDIUM)
Patch released
May 04, 2026 - 06:00 nvd
Patch available
CVE Published
May 04, 2026 - 05:00 nvd
MEDIUM 6.9

DescriptionCVE.org

A vulnerability has been found in osrg GoBGP up to 4.3.0. This impacts the function SRv6L3ServiceAttribute.DecodeFromBytes of the file pkg/packet/bgp/prefix_sid.go of the component SRv6 L3 Service. Such manipulation of the argument data leads to denial of service. The attack may be performed from remote. Upgrading to version 4.4.0 will fix this issue. The name of the patch is f9f7b55ec258e514be0264871fa645a2c3edad11. You should upgrade the affected component.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Social Media
1
Sightings
Data Quality
9 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Gobgp

View all
CVE-2025-43971 HIGH
8.6 Apr 21

An issue was discovered in GoBGP before 3.35.0. Rated high severity (CVSS 8.6), this vulnerability is remotely exploitab

CVE-2026-7735 MEDIUM
6.9 May 04

Buffer overflow in GoBGP's AIGP Attribute Parser allows remote unauthenticated attackers to manipulate the PathAttribute

CVE-2026-7737 MEDIUM
6.9 May 04

Out-of-bounds read in GoBGP BMP parser allows remote attackers to trigger information disclosure via malformed BMP messa

CVE-2026-7736 MEDIUM
6.9 May 04

Integer underflow in osrg GoBGP up to version 4.3.0 allows remote attackers to trigger a crash or information disclosure

CVE-2025-43973 MEDIUM
6.8 Apr 21

An issue was discovered in GoBGP before 3.35.0. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploit

CVE-2025-43972 MEDIUM
6.8 Apr 21

An issue was discovered in GoBGP before 3.35.0. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploit

CVE-2026-5123 MEDIUM
6.3 Mar 30

Denial of service in osrg GoBGP up to version 4.3.0 via off-by-one error in the DecodeFromBytes function allows remote,

CVE-2026-5124 MEDIUM
6.3 Mar 30

Improper access controls in osrg GoBGP up to version 4.3.0 allow remote attackers to bypass authentication via manipulat

CVE-2026-5122 MEDIUM
6.3 Mar 30

Improper access control in osrg GoBGP up to 4.3.0 allows remote attackers to manipulate the domainNameLen parameter in B

CVE-2025-43970 MEDIUM
4.3 Apr 21

An issue was discovered in GoBGP before 3.35.0. Rated medium severity (CVSS 4.3), this vulnerability is no authenticatio

Vendor StatusVendor

SUSE

Severity: Medium

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy