CVE-2026-49838 json
GoBGP confederation validation panics on empty AS_PATH attribute
published 2026-07-09 4 mo ago modified 2026-09-16 54 d ago also EUVD-2026-75807 , GHSA-frrj-87jh-2772 , GO-2026-5954
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Prior to version 4.7.0, GoBGP accepts a zero-length AS_PATH during UPDATE decoding and later panics while validating that attribute for a confederation eBGP peer. The vulnerable path is in the BGP UPDATE validator: a malformed UPDATE that should be rejected as a malformed AS_PATH instead reaches an unchecked `p.Value[0]` access, allowing a configured confederation eBGP peer to trigger a denial of service. Version 4.7.0 patches the issue.
Patch / fix
- go github.com/osrg/gobgp/v4 4.7.0
- osrg gobgp 4.7.0
- gobgp Debian 14 4.7.0-1
debian advisories DEBIAN-CVE-2026-49838
- govulncheck-vulndb SLES 16.0, SLES for SAP applications 16.0 0.0.20260727T201416-160000.1.1
suse advisories SUSE-SU-2026:23216-1SUSE-SU-2026:23227-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260727T201416-160000.1.1
opensuse advisories openSUSE-SU-2026:21551-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-49838 updated cvss 5.9
github.com/osrg/gobgp: GoBGP: Denial of Service via malformed BGP UPDATE message
-
Red Hat OpenShift Container Platform 4 openshift4/metallb-rhel8affected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 58 d ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/osrg/gobgp/v4 | <4.7.0 |
4.7.0 |
Affected products
- osrg gobgp
Classification
- Weakness
-
- CWE-129 Improper Validation of Array Index
References
Sources
- CVE List CVE-2026-49838
- GitHub Advisory GHSA-frrj-87jh-2772
- NVD CVE-2026-49838
- OSV GO-2026-5954
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.