CVE-2026-42285 PUBLISHED

GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)

Assigner: GitHub_M
Reserved: 26.04.2026 Published: 07.05.2026 Updated: 07.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 7.5

Product Status

Vendor osrg
Product gobgp
Versions
  • Version = 4.4.0 is affected

References

Problem Types

  • CWE-476: NULL Pointer Dereference CWE