CVE-2026-49837GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen…
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.
What to do
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | gobgp | Fix pending | UBUNTU-CVE-2026-49837 | |
| Ubuntu 26.04 | gobgp | Fix pending | UBUNTU-CVE-2026-49837 | |
| Ubuntu 25.10 | gobgp | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-49837 | |
| Ubuntu 24.04 | gobgp | Fix pending | UBUNTU-CVE-2026-49837 | |
| Ubuntu 22.04 | gobgp | Fix pending | UBUNTU-CVE-2026-49837 | |
| Ubuntu 20.04 | gobgp | Fix pending | UBUNTU-CVE-2026-49837 | |
| Ubuntu 18.04 | gobgp | Fix pending | UBUNTU-CVE-2026-49837 | |
| Debian 14 | gobgp | Fixed | 4.6.0-1 | DEBIAN-CVE-2026-49837 |
| Debian 13 | gobgp | Fix pending | DEBIAN-CVE-2026-49837 | |
| Debian 12 | gobgp | Fix pending | DEBIAN-CVE-2026-49837 | |
| Go library | github.com/osrg/gobgp/v4 | Fixed | 4.6.0 | GHSA-gjrg-jjr3-56cm |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- osrg gobgp: affected: < 4.6.0
References
- https://github.com/osrg/gobgp/security/advisories/GHSA-gjrg-jjr3-56cm
- https://github.com/osrg/gobgp/commit/f02ca397821f6ca182ef4eb492c3cbc459552d7c
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.