Vulnerability · Published Sep 10, 2026 · Assigned by GitHub_M

CVE-2026-49837GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries

Medium 5.9

In plain English

A medium-severity out-of-bounds read in gobgp from osrg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.3%top 73.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12gobgpno fix listedDEBIAN-CVE-2026-49837
Debian:13gobgpno fix listedDEBIAN-CVE-2026-49837
Debian:14gobgp4.6.0-1DEBIAN-CVE-2026-49837
Gogithub.com/osrg/gobgp/v44.6.0GO-2026-5955
Gogithub.com/osrg/gobgp/v44.6.0GHSA-gjrg-jjr3-56cm
Ubuntu:25.10gobgpno fix listedUBUNTU-CVE-2026-49837
Ubuntu:26.10gobgpno fix listedUBUNTU-CVE-2026-49837

Affected products (as reported)

VendorProductVersions
osrg gobgp < 4.6.0

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

References