# CVE-2026-42285: GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-05-07 · Modified: 2026-05-07
- Aliases: UBUNTU-CVE-2026-42285, DEBIAN-CVE-2026-42285, GHSA-p3w2-64xm-833j, GO-2026-5525
- Record: https://cvemate.com/vulnerability/CVE-2026-42285 · JSON: https://cvemate.com/vulnerability/CVE-2026-42285/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.425%, percentile 38.75%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian gobgp (Debian): \< 4.5.0-1
- ubuntu gobgp (Ubuntu): All versions (No fix recorded)
- github.com/osrg/gobgp v4 (Go): ≥ 4.4.0, \< 4.5.0
- osrg gobgp: = 4.4.0 \| 4.4.0

## References

- <https://github.com/osrg/gobgp/security/advisories/GHSA-p3w2-64xm-833j>
- <https://github.com/osrg/gobgp/releases/tag/v4.5.0>
- <https://ubuntu.com/security/CVE-2026-42285>
- <https://www.cve.org/CVERecord?id=CVE-2026-42285>
- <https://security-tracker.debian.org/tracker/CVE-2026-42285>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42285>
- <https://github.com/osrg/gobgp>
- <https://github.com/osrg/gobgp/commit/d2d2be3e4e7915d407e662e5d388d9f8ae8a8f7b>

---

Data as of 2026-12-05T14:22:58.745Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
