NULL Pointer Dereference Affecting gobgp package, versions <4.5.0-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.42% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-GOBGP-16632744
  • published11 May 2026
  • disclosed7 May 2026

Introduced: 7 May 2026

CVE-2026-42285  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Debian:unstable gobgp to version 4.5.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gobgp package and not the gobgp package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1