CVE-2026-42285

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

Published May 7, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A crafted BGP UPDATE message with incorrect attribute lengths causes GoBGP, an open‐source BGP implementation, to panic inside AdjRib.Update. The resulting nil pointer dereference makes the entire GoBGP process crash. This error manifests as a complete loss of service availability for the affected router. The flaw is a classic null pointer dereference (CWE‑476).

Affected Systems

The vulnerability affects Open Source Routing Group’s GoBGP 4.4.0. Versions 4.5.0 and newer contain the fix. No other releases are known to be impacted.

Risk and Exploitability

The flaw is exploitable by any unauthenticated remote BGP peer. A CVSS score of 7.5 indicates high severity, and the EPSS score is not yet available, so detection of attacks is uncertain. The vulnerability is not listed in the CISA KEV catalog, but its high availability impact warrants urgent attention. Attackers would simply send a malicious UPDATE to trigger a crash without needing prior authentication or special privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade GoBGP to version 4.5.0 or later, which contains the proper bounds checking for UPDATE attributes.
  • If an upgrade cannot be performed immediately, block or filter BGP UPDATE traffic from untrusted peers using firewall or router ACL rules.
  • Enforce BGP session authentication (MD5 or TCP MD5) so that only authenticated peers can exchange UPDATE messages, reducing the window for exploitation.
  • Enable logging and monitor for abnormal BGP UPDATE message patterns and high-frequency process restarts to detect ongoing attempts.

Generated by OpenCVE AI on May 7, 2026 at 14:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p3w2-64xm-833j GoBGP has a panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)
History
Type Values Removed Values Added
CPEs cpe:2.3:a:osrg:gobgp:4.4.0:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Osrg
Osrg gobgp
Vendors & Products Osrg
Osrg gobgp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 7, 2026, 1:04 PM
Reserved
Apr 26, 2026, 12:13 PM
Status
Analyzed
Published
May 7, 2026, 12:16 PM
Modified
Oct 26, 2026, 10:10 PM