CVE-2026-42285 json
GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)
published 2026-05-05 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-28355 , GHSA-p3w2-64xm-833j , GO-2026-5525
- cvss
- 7.5
- 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 36%
- public exploits
- 0
- none known
Summary
GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. In version 4.4.0, an unauthenticated remote BGP peer can trigger a fatal panic in GoBGP by sending a specially crafted BGP UPDATE message. When the server receives a message with inconsistent attribute lengths, it improperly handles the internal state transition to a "withdraw" action, leading to a nil pointer dereference in the AdjRib.Update function. This causes the entire GoBGP process to crash, resulting in a complete loss of service availability. This issue has been patched in version 4.5.0.
Patch / fix
- go github.com/osrg/gobgp/v4 4.5.0
- gobgp Debian 14 4.5.0-1
debian advisories DEBIAN-CVE-2026-42285
- 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-42285 updated cvss 7.5
github.com/osrg/gobgp: GoBGP: Denial of Service due to specially crafted BGP UPDATE message
-
Red Hat OpenShift Container Platform 4 openshift4/metallb-rhel8not affected: vulnerable code not present
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
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/osrg/gobgp/security/advisories/GHSA-p3w2-64xm-833j referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/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.4.0, <4.5.0 |
4.5.0 |
Affected products
- osrg gobgp
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/osrg/gobgp/commit/d2d2be3e4e7915d407e662e5d388d9f8ae8a8f7b
patch
-
github.com
/osrg/gobgp/security/advisories/GHSA-p3w2-64xm-833j
exploit, web, vendor-advisory, advisory
-
github.com
/osrg/gobgp/releases/tag/v4.5.0
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-42285
advisory
-
github.com
/osrg/gobgp
package
Sources
- CVE List CVE-2026-42285
- GitHub Advisory GHSA-p3w2-64xm-833j
- NVD CVE-2026-42285
- OSV GO-2026-5525
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.