CVE-2026-7735

osrg GoBGP AIGP Attribute bgp.go PathAttributeAigp.DecodeFromBytes buffer overflow

Published May 4, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A buffer overflow exists in the AIGP Attribute Parser of osrg GoBGP. Manipulating the PathAttributeAigp.DecodeFromBytes function can overwrite memory, potentially allowing an attacker to crash the process or execute arbitrary code. The flaw falls under CWE‑119 and CWE‑120, indicating unsafe buffer handling.

Affected Systems

Versions up to and including 4.3.0 of osrg GoBGP are affected. The issue is resolved in version 4.4.0.

Risk and Exploitability

The CVSS score of 6.9 classifies the severity as moderate. EPSS data is not available, though the vulnerability can be triggered remotely. The vulnerability is not listed in the CISA KEV catalog. An attacker can exploit the flaw by sending a crafted packet to a running GoBGP instance.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade GoBGP to version 4.4.0 or later to incorporate the security fix
  • If an immediate upgrade is not possible, apply the patch from commit 51ad1ada06cb41ce47b7066799981816f50b7ced to the source code and rebuild
  • Implement input size validation or restrict exposure of the AIGP attribute parser to prevent exploitation
  • Actively monitor network traffic for abnormal BGPPacket structures that may indicate exploitation attempts

Generated by OpenCVE AI on May 4, 2026 at 06:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8348-1 GoBGP vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title osrg GoBGP AIGP Attribute bgp.go PathAttributeAigp.DecodeFromBytes buffer overflow
First Time appeared Osrg
Osrg gobgp
Weaknesses CWE-119
CWE-120
CPEs cpe:2.3:a:osrg:gobgp:*:*:*:*:*:*:*:*
Vendors & Products Osrg
Osrg gobgp
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': '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/E:X'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
May 4, 2026, 12:49 PM
Reserved
May 3, 2026, 4:16 PM
Status
Analyzed
Published
May 4, 2026, 6:16 AM
Modified
Oct 26, 2026, 7:10 PM