CVE-2026-42285

Source
https://cve.org/CVERecord?id=CVE-2026-42285
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42285.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42285
Aliases
Downstream
Published
2026-05-07T11:53:14.498Z
Modified
2026-07-08T08:13:16.136125057Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42285.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-476"
    ]
}
References

Affected packages

Git / github.com/osrg/gobgp

Affected ranges

Type
GIT
Repo
https://github.com/osrg/gobgp
Events
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:osrg:gobgp:4.4.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.4.0"
        },
        {
            "last_affected": "4.4.0"
        }
    ]
}

Affected versions

4.*
4.4.0
= 4.*
= 4.4.0
v4.*
v4.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42285.json"