{
  "affected": [
    {
      "ranges": [
        {
          "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"
            ]
          },
          "events": [
            {
              "introduced": "12b4ebaef14f61e1c7c7403c770b67826f0b8cf4"
            },
            {
              "fixed": "5f191066a78e2c1e929c54b5b75fe2c683c166e4"
            }
          ],
          "repo": "https://github.com/osrg/gobgp",
          "type": "GIT"
        }
      ],
      "versions": [
        "4.4.0",
        "= 4.4.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-p3w2-64xm-833j"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42285.json"
  },
  "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.",
  "id": "CVE-2026-42285",
  "modified": "2026-07-08T05:37:26.686280871Z",
  "published": "2026-05-07T11:53:14.498Z",
  "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"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)"
}