| Name | CVE-2026-42285 |
| 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. |
| Source | CVE (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 Bugs | 1136049 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| gobgp (PTS) | bullseye | 2.25.0-2 | fixed |
| bookworm | 3.10.0-1 | fixed |
| trixie | 3.36.0-2 | fixed |
| forky, sid | 4.5.0-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| gobgp | source | bullseye | (not affected) | | | |
| gobgp | source | bookworm | (not affected) | | | |
| gobgp | source | trixie | (not affected) | | | |
| gobgp | source | (unstable) | 4.5.0-1 | | | 1136049 |
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)