Skip to main content

osrg GoBGP EUVDEUVD-2026-26915

| CVE-2026-7735 MEDIUM
Classic Buffer Overflow (CWE-120)
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
  2. Delivery
    Craft malformed AIGP UPDATE message
  3. Exploit
    Send to target GoBGP instance
  4. Install
    Parser reads TLV length field
  5. C2
    Validate insufficient bounds
  6. Execute
    Buffer overflow during data read
  7. Impact
    Memory 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.

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

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

GoBGP 4.2
GoBGP 4.0
GoBGP 4.3.0
GoBGP 4.1

Affected Packages

euvd gobgp no fix

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

Vendor (VulDB) PRIMARY 6.9 MEDIUM
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
Red Hat 7.3 MEDIUM

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
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
May 04, 2026 - 06:22 NVD
HIGH MEDIUM
CVSS changed
May 04, 2026 - 06:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
Patch released
May 04, 2026 - 06:00 nvd
Patch available
CVE Published
May 04, 2026 - 05:15 nvd
MEDIUM 6.9

DescriptionCVE.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

EPSS Score
0.1%
Top 82% exploitable
Social Media
1
Sightings
Data Quality
8 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

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.

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-7734 MEDIUM
6.9 May 04

Denial of service in osrg GoBGP up to version 4.3.0 allows remote attackers to trigger an infinite loop via malformed SR

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

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