Vulnerability · Published May 7, 2026 · Assigned by GitHub_M
CVE-2026-42285GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)
High 7.5
In plain English
A high-severity null pointer dereference in gobgp from osrg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | gobgp | 4.5.0-1 | DEBIAN-CVE-2026-42285 |
| Go | github.com/osrg/gobgp/v4 | 4.5.0 | GO-2026-5525 |
| Go | github.com/osrg/gobgp/v4 | 4.5.0 | GHSA-p3w2-64xm-833j |
| Ubuntu:25.10 | gobgp | no fix listed | UBUNTU-CVE-2026-42285 |
Affected products (as reported)
Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/osrg/gobgp/security/advisories/GHSA-p3w2-64xm-833j x_refsource_CONFIRM
- https://github.com/osrg/gobgp/releases/tag/v4.5.0 x_refsource_MISC