CVE-2026-42285
GoBGP has a panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)
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.
How to fix CVE-2026-42285
To remediate CVE-2026-42285, upgrade the affected package to a fixed version below.
- —upgrade to 4.5.0-1 or later
- —upgrade to 4.5.0 or later
Is CVE-2026-42285 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 4.5.0-1
- >= 4.4.0, < 4.5.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |