Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconNetwork access to BGP port (179)
-
DeliveryCraft malformed BGP UPDATE with SRv6 L3 Service TLV
-
ExploitSend packet to GoBGP instance
-
InstallParser enters DecodeFromBytes function
-
C2Encounter unknown sub-TLV type
-
ExecuteInfinite loop on stlvs buffer
-
ImpactExhaust CPU and memory
-
Step 8Availability 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
An issue was discovered in GoBGP before 3.35.0. Rated high severity (CVSS 8.6), this vulnerability is remotely exploitab
Buffer overflow in GoBGP's AIGP Attribute Parser allows remote unauthenticated attackers to manipulate the PathAttribute
Out-of-bounds read in GoBGP BMP parser allows remote attackers to trigger information disclosure via malformed BMP messa
Integer underflow in osrg GoBGP up to version 4.3.0 allows remote attackers to trigger a crash or information disclosure
An issue was discovered in GoBGP before 3.35.0. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploit
An issue was discovered in GoBGP before 3.35.0. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploit
Denial of service in osrg GoBGP up to version 4.3.0 via off-by-one error in the DecodeFromBytes function allows remote,
Improper access controls in osrg GoBGP up to version 4.3.0 allow remote attackers to bypass authentication via manipulat
Improper access control in osrg GoBGP up to 4.3.0 allows remote attackers to manipulate the domainNameLen parameter in B
An issue was discovered in GoBGP before 3.35.0. Rated medium severity (CVSS 4.3), this vulnerability is no authenticatio
EUVD-2026-26914
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB