CVE-2026-42285

NameCVE-2026-42285
DescriptionGoBGP 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1136049

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gobgp (PTS)bullseye2.25.0-2fixed
bookworm3.10.0-1fixed
trixie3.36.0-2fixed
forky, sid4.5.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gobgpsourcebullseye(not affected)
gobgpsourcebookworm(not affected)
gobgpsourcetrixie(not affected)
gobgpsource(unstable)4.5.0-11136049

Notes

[trixie] - gobgp <not-affected> (Vulnerable code not present, introduced in 4.4.0)
[bookworm] - gobgp <not-affected> (Vulnerable code not present, introduced in 4.4.0)
[bullseye] - gobgp <not-affected> (Vulnerable code not present, introduced in 4.4.0)
https://github.com/osrg/gobgp/security/advisories/GHSA-p3w2-64xm-833j
Fixed by https://github.com/osrg/gobgp/commit/d2d2be3e4e7915d407e662e5d388d9f8ae8a8f7b (v4.5.0)

Search for package or bug name: Reporting problems