Description
GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Versions prior to 4.6.0 contain a BGP OPEN capability parsing issue where several concrete capability decoders may parse data from the full remaining capability buffer instead of the slice bounded by the declared capability length, `CapLen`. A malformed BGP OPEN message can cause bytes from a following capability to be interpreted as part of the current capability. The most security-relevant case is the 4-octet AS capability, where a capability with `CapLen == 0` may cause the parser to read bytes from the following capability as the 4-octet AS value. This parsed value may later affect peer AS validation during BGP session establishment. Version 4.6.0 patches the issue.
Published: 2026-09-10
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Potential BGP AS value manipulation that can bypass peer validation
Action: Immediate Patch
AI Analysis

Impact

This vulnerability is an out‑of‑bounds read in the BGP OPEN capability parser of GoBGP. Versions prior to 4.6.0 contain this parsing issue, where several concrete capability decoders may parse data from the full remaining capability buffer instead of the slice bounded by the declared capability length, CapLen. The parser incorrectly processes the buffer, causing bytes from a following capability to be interpreted as part of the current capability. is the 4‑octet AS capability, where a capability with CapLen == 0 may cause the parser to4‑octet AS value, which may later affect peer AS validation during BGP session establishment. This parsed value may be forged, potentially allowing an unauthorized BGP session to be established with an attacker’s chosen AS.

Affected Systems

Affected product: GoBGP from osrg. All releases earlier than version 4.6.0 are impacted; version 4.6.0 and later contain the fix.

Risk and Exploitability

The CVSS score is 5.9, indicating a moderate severity. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog, but exploitation requires a specially crafted BGP OPEN message sent to the vulnerable instance. The attack vector is network‑based, targeting the BGP control plane. While the probability of exploitation cannot be quantified, the potential impact on AS validation and routing integrity warrants immediate attention.

Generated by OpenCVE AI on September 11, 2026 at 04:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade GoBGP to version 4.6.0 or later.
  • Configure BGP peers to enforce strict capability length checks and reject OPEN messages with inconsistent or unusually sized capabilities.
  • Limit exposure of the BGP service to trusted peers and enforce ACLs to restrict which external routers can initiate sessions.

Generated by OpenCVE AI on September 11, 2026 at 04:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-gjrg-jjr3-56cm GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries
History

Fri, 11 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Osrg
Osrg gobgp
Vendors & Products Osrg
Osrg gobgp

Thu, 10 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Description GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Versions prior to 4.6.0 contain a BGP OPEN capability parsing issue where several concrete capability decoders may parse data from the full remaining capability buffer instead of the slice bounded by the declared capability length, `CapLen`. A malformed BGP OPEN message can cause bytes from a following capability to be interpreted as part of the current capability. The most security-relevant case is the 4-octet AS capability, where a capability with `CapLen == 0` may cause the parser to read bytes from the following capability as the 4-octet AS value. This parsed value may later affect peer AS validation during BGP session establishment. Version 4.6.0 patches the issue.
Title GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-10T21:56:13.637Z

Reserved: 2026-06-01T18:50:36.056Z

Link: CVE-2026-49837

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-10T22:16:57.507

Modified: 2026-09-10T22:16:57.507

Link: CVE-2026-49837

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T07:30:09Z

Weaknesses