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.
Weakness
- CWE-476: NULL Pointer Dereference
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-05-07 |
Timeline
- 2026-05-05GitHub advisory published (GHSA-p3w2-64xm-833j)2 days before publication
- 2026-05-07Published by the CNA11:53 UTC
- 2026-05-07CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-p3w2-64xm-833j, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/osrg/gobgp/v4 | from 4.4.0 before 4.5.0 | 4.5.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| osrg gobgp | 4.4.0no fix listed | not listed |
References
- https://github.com/osrg/gobgp/security/advisories/GHSA-p3w2-64xm-833j
- https://github.com/osrg/gobgp/releases/tag/v4.5.0
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42285'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42285'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42285'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42285'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).