CVE-2026-42285
HIGH 7.5CVSS 3.1GoBGP has a panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)
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.
- Published
- 7 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-476
- Also known as
- GHSA-p3w2-64xm-833jGO-2026-5525
- Sources
- NVDJSONOSV GHSA-p3w2-64xm-833jJSONOSV GO-2026-5525JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | osrg | gobgpcpe:2.3:a:osrg:gobgp:4.4.0:*:*:*:*:*:*:* |
= 4.4.0 | |
| OSV | Go | github.com/osrg/gobgp/v4 | >= 4.4.0, < 4.5.0 | 4.5.0 |
References
- https://github.com/osrg/gobgp/releases/tag/v4.5.0 · Product, Release Notes, WEB
- https://github.com/osrg/gobgp/security/advisories/GHSA-p3w2-64xm-833j · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-42285 · ADVISORY
- https://github.com/osrg/gobgp · PACKAGE
- https://github.com/osrg/gobgp/commit/d2d2be3e4e7915d407e662e5d388d9f8ae8a8f7b · FIX
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 7 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 May 2026)