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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-10 · Modified: 2026-09-15
- Aliases: UBUNTU-CVE-2026-49837, DEBIAN-CVE-2026-49837, GHSA-gjrg-jjr3-56cm, GO-2026-5955
- Record: https://cvemate.com/vulnerability/CVE-2026-49837 · JSON: https://cvemate.com/vulnerability/CVE-2026-49837/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.255%, percentile 18.18%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian gobgp (Debian): All versions (No fix recorded) \| \< 4.6.0-1
- ubuntu gobgp (Ubuntu): All versions (No fix recorded)
- github.com/osrg/gobgp v4 (Go): \< 4.6.0
- osrg gobgp: \< 4.6.0

## References

- <https://github.com/osrg/gobgp/security/advisories/GHSA-gjrg-jjr3-56cm>
- <https://github.com/osrg/gobgp/commit/f02ca397821f6ca182ef4eb492c3cbc459552d7c>
- <https://ubuntu.com/security/CVE-2026-49837>
- <https://www.cve.org/CVERecord?id=CVE-2026-49837>
- <https://security-tracker.debian.org/tracker/CVE-2026-49837>
- <https://github.com/osrg/gobgp>

---

Data as of 2026-12-05T14:23:05.568Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
