CVE-2026-41642: GO-2026-5198 - GoBGP: Remote Denial of Service (Panic) via Malformed Well-known Path Attribute in github.com/osrg/gobgp

CVE-2026-41642 · Severity: high · CVSS 7.5 · Published 2026-05-07

GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. In version 4.3.0, a remote Denial of Service (DoS) vulnerability exists in GoBGP due to a nil pointer dereference. When a malformed BGP UPDATE message contains an unrecognized Path Attribute marked as "Well-known," the daemon fails to interrupt the message handling flow. This results in an illegal memory access and a full process crash (panic). This issue has been patched in version 4.4.0.

Technologies: github.com/osrg/gobgp/v4 (Go), Osrg Gobgp. Vendors: Go, Osrg.

Quick answers

Is CVE-2026-41642 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-41642 being exploited in the wild.
How severe is CVE-2026-41642?
High severity, with a CVSS score of 7.5, published 7 May 2026.
Which products and versions are affected?
github.com/osrg/gobgp/v4 (Go) SEMVER:introduced=4.3.0,fixed=4.4.0.
Is there a fix for CVE-2026-41642?
Yes. github.com/osrg/gobgp/v4 (Go): upgrade to 4.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-41642?
Check whether you run github.com/osrg/gobgp/v4 (Go) or Osrg Gobgp at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/osrg/gobgp/v4 (Go): upgrade to 4.4.0 or later
    go get github.com/osrg/gobgp/v4@v4.4.0

Affected products

  • github.com/osrg/gobgp/v4 (Go) SEMVER:introduced=4.3.0,fixed=4.4.0
  • Osrg Gobgp

Identifiers

  • CVE-2026-41642
  • GHSA-7235-89m6-f4px
  • GO-2026-5198

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.