Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconNetwork access to BGP port
-
DeliveryCraft malformed AIGP UPDATE message
-
ExploitSend to target GoBGP instance
-
InstallParser reads TLV length field
-
C2Validate insufficient bounds
-
ExecuteBuffer overflow during data read
-
ImpactMemory corruption or crash.
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target GoBGP instance must be configured to accept and parse BGP UPDATE messages containing AIGP attributes from a remote BGP peer. This is the default behavior in standard BGP deployments where the GoBGP speaker is either a route reflector or edge router with external BGP sessions enabled. The attacker must have network reachability to the BGP session (TCP port 179 by default) and be able to send a crafted BGP UPDATE message; if BGP authentication (MD5/TCPAO) is enabled, the attacker must also be able to forge valid authentication or the session will reject the message before parsing AIGP. No special GoBGP configuration flags are required to enable the vulnerability-AIGP parsing is built-in to the BGP protocol handler. |
| Impact | CVSS 6.9 with AV:N/AC:L/PR:N indicates a network-accessible vulnerability requiring no authentication or user interaction, meeting the criteria for remote exploitation against default BGP configurations. However, the impact scope is limited (VC:L/VI:L/VA:L) - the vector shows Low confidentiality, integrity, and availability impact with no scope change, suggesting memory disclosure or crash rather than direct code execution. The CVSS 4.0 score reflects this bounded impact despite the straightforward attack vector. Real-world risk depends on BGP deployment context: this affects BGP route reflectors, edge routers accepting external BGP sessions, and any system parsing untrusted AIGP attributes. An attacker must craft a valid BGP UPDATE message with a malicious AIGP attribute; successful exploitation requires the target to actively parse the AIGP TLV field. The fact that patch and commit hash are provided, plus a 4.4.0 release exists, confirms vendor response velocity. No EPSS, KEV, or POC data provided, so exploitation likelihood is uncertain beyond the low-barrier network attack vector. |
| Exploit ScenarioDerived | An attacker with network access to a GoBGP BGP speaker crafts a BGP UPDATE message containing a malicious AIGP path attribute where the TLV length field specifies more bytes than are actually present in the message. When the target GoBGP instance receives and attempts to parse this UPDATE, the PathAttributeAigp.DecodeFromBytes function reads beyond the buffer boundary, triggering a buffer overflow. This causes memory corruption, information disclosure, or daemon crash, degrading the router's stability or availability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 04, 2026
Buffer overflow in GoBGP's AIGP Attribute Parser allows remote unauthenticated attackers to manipulate the PathAttributeAigp.DecodeFromBytes function via malformed BGP UPDATE messages, potentially causing memory corruption. Versions up to 4.3.0 are affected. GoBGP 4.4.0 includes a vendor-released patch that adds proper bounds checking and validation of TLV length fields.
RemediationAI
Upgrade GoBGP to version 4.4.0 or later, which includes the patch commit 51ad1ada06cb41ce47b7066799981816f50b7ced. This patch adds proper validation of AIGP TLV length fields and returns a malformed attribute error when TLV length exceeds remaining buffer data. If immediate patching is not feasible, restrict BGP sessions to trusted peers only (filter untrusted BGP speakers at the network perimeter) or disable AIGP attribute acceptance if not required for your deployment; this reduces attack surface but may impact route metric calculations if AIGP is operationally necessary. Refer to the official GoBGP repository (https://github.com/osrg/gobgp/) and release notes for version 4.4.0 (https://github.com/osrg/gobgp/releases/tag/v4.4.0) for patching instructions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in 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 in Go. The vulnerability exists in the AIGP (Accumulated IGP Metric) Attribute Parser component, specifically in the PathAttributeAigp.DecodeFromBytes function located in pkg/packet/bgp/bgp.go. AIGP is a BGP path attribute used to carry accumulated IGP metric values. The root cause is a CWE-120 classic buffer overflow: the parser did not validate that TLV (Type-Length-Value) fields contained enough data before reading from the byte buffer. The fix adds explicit bounds checking and error returns when TLV length claims exceed remaining data, preventing out-of-bounds reads during BGP UPDATE message parsing.
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:L/VI:L/VA:L/SC:N/SI:N/SA:N
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in osrg GoBGP up to 4.3.0. Affected is the function PathAttributeAigp.DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component AIGP Attribute Parser. Performing a manipulation results in buffer overflow. It is possible to initiate the attack remotely. Upgrading to version 4.4.0 is able to address this issue. The patch is named 51ad1ada06cb41ce47b7066799981816f50b7ced. The affected component should be upgraded.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
An issue was discovered in GoBGP before 3.35.0. Rated high severity (CVSS 8.6), this vulnerability is remotely exploitab
Denial of service in osrg GoBGP up to version 4.3.0 allows remote attackers to trigger an infinite loop via malformed SR
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-26915
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB