{"id":"CVE-2026-42285","summary":"GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)","details":"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.","aliases":["GHSA-p3w2-64xm-833j"],"modified":"2026-07-08T08:13:16.136125057Z","published":"2026-05-07T11:53:14.498Z","database_specific":{"cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42285.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/osrg/gobgp/releases/tag/v4.5.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42285.json"},{"type":"ADVISORY","url":"https://github.com/osrg/gobgp/security/advisories/GHSA-p3w2-64xm-833j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42285"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/osrg/gobgp","events":[{"introduced":"12b4ebaef14f61e1c7c7403c770b67826f0b8cf4"},{"fixed":"5f191066a78e2c1e929c54b5b75fe2c683c166e4"}],"database_specific":{"cpe":"cpe:2.3:a:osrg:gobgp:4.4.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.4.0"},{"last_affected":"4.4.0"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["4.4.0","= 4.4.0","v4.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42285.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}