Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-49837 EUVD-2026-75806GHSA-gjrg-jjr3-56cmGO-2026-5955

GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries

Published Sep 10, 2026 · Updated Sep 15, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
osrg gobgp < 4.6.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gobgp 4.6.0-1 —
Debian 13 gobgp No fix yet —
Debian 12 gobgp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gobgp No fix yet —
Ubuntu 25.10 gobgp No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS gobgp No fix yet —
Ubuntu Pro 24.04 LTS gobgp No fix yet —
Ubuntu Pro 22.04 LTS gobgp No fix yet —
Ubuntu Pro 20.04 LTS gobgp No fix yet —
Ubuntu Pro 18.04 LTS gobgp No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1
SLES 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 openSUSE-SU-2026:21551-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/osrg/gobgp/v4 < 4.6.0 4.6.0 GHSA-gjrg-jjr3-56cm

Advisories 3

References