GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-476.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| osrg | gobgp | = 4.4.0 | — | No fix listed | CNA |
| — | github.com/osrg/gobgp/v4 (Go) | 4.4.0 to before 4.5.0 | 4.5.0 | Patch available | GHSA-p3w2-64xm-833j |
- gobgp Vendorosrg Affected = 4.4.0 Fixed in — No fix listed CNA
- github.com/osrg/gobgp/v4 (Go) Vendor— Affected 4.4.0 to before 4.5.0 Fixed in 4.5.0 Patch available GHSA-p3w2-64xm-833j
Remediation
- Fix · GHSA-p3w2-64xm-833j github.com/osrg/gobgp/v4 (Go) Fixed in 4.5.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42285
- 2026-10-03 Alias added: GHSA-p3w2-64xm-833j
References
More osrg Gobgp vulnerabilities
- TI-2026-30162 GoBGP: Remote Denial of Service (Panic) in UpdatePathAttrs4ByteAs via Malformed BGP UPDATE CVSS 3.1HIGH 7.5
- TI-2026-30161 GoBGP: Remote Denial of Service (Panic) via Malformed Well-known Path Attribute CVSS 3.1HIGH 7.5
- TI-2026-23526 An issue in GoBGP gobgpd v.4.2.0 allows a remote attacker to cause a denial of service via the NEXT_HOP path attribute CVSS 3.1HIGH 7.5
- TI-2025-28529 An issue was discovered in GoBGP before 3.35.0. CVSS 3.1HIGH 8.6
- TI-2025-28531 An issue was discovered in GoBGP before 3.35.0. CVSS 3.1CRITICAL 9.8
- TI-2026-28050 An out-of-bounds read in the ParseIP6Extended function (/bgp/bgp.go) of gobgp v4.3.0… CVSS 3.1HIGH 7.5
Sources
- CVE-2026-42285 · CVE Program
- CVE-2026-42285 · NVD
- FIRST EPSS
- GHSA-p3w2-64xm-833j · GitHub Advisory Database · CC BY 4.0
- CVE-2026-42285 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences