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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 63.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:14gobgp4.5.0-1DEBIAN-CVE-2026-42285
Gogithub.com/osrg/gobgp/v44.5.0GO-2026-5525
Gogithub.com/osrg/gobgp/v44.5.0GHSA-p3w2-64xm-833j
Ubuntu:25.10gobgpno fix listedUBUNTU-CVE-2026-42285

Affected products (as reported)

VendorProductVersions
osrg gobgp = 4.4.0

Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References