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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T20:57:14.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-p3w2-64xm-833j, GO-2026-5525
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- osrg gobgp: = 4.4.0; 4.4.0
- github.com/osrg/gobgp/v4 (Go): from 4.4.0 before 4.5.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/osrg/gobgp/security/advisories/GHSA-p3w2-64xm-833j> (exploit, advisory, vendor-advisory, web)
- <https://github.com/osrg/gobgp/releases/tag/v4.5.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42285> (advisory)
- <https://github.com/osrg/gobgp> (package)
- <https://github.com/osrg/gobgp/commit/d2d2be3e4e7915d407e662e5d388d9f8ae8a8f7b> (fix)

## Sources

- CVE List: [CVE-2026-42285](https://www.cve.org/CVERecord?id=CVE-2026-42285), CVE Terms of Use, modified 2026-05-07
- GitHub Advisory Database: [GHSA-p3w2-64xm-833j](https://github.com/advisories/GHSA-p3w2-64xm-833j), CC-BY-4.0, modified 2026-07-24
- Go Vulnerability Database: [GO-2026-5525](https://pkg.go.dev/vuln/GO-2026-5525), CC-BY-4.0, modified 2026-07-24
- NVD: [CVE-2026-42285](https://nvd.nist.gov/vuln/detail/CVE-2026-42285), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42285 · Whole record: https://cve.day/CVE-2026-42285.json · Rebuilt by cve.day 2026-11-25T22:59:20.873Z
