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

Source: https://junglewise.ai/threats/cve-2026-41642-gobgp-has-remote-denial-of-service-panic-via-malformed-well-known  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-07  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/github-com-osrg-gobgp-v4), [Osrg Gobgp](https://junglewise.ai/threats/technologies/gobgp). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [Osrg](https://junglewise.ai/threats/vendors/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

  ```sh
  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

## Related threats

- [osrg GoBGP denial of service via empty AS_PATH attribute](https://junglewise.ai/threats/cve-2026-49838-osrg-gobgp-denial-of-service-via-empty-as-path-attribute)
- [GoBGP out-of-bounds read in BGP OPEN capability parser](https://junglewise.ai/threats/cve-2026-49837-gobgp-out-of-bounds-read-in-bgp-open-capability-parser)
- [GoBGP integer underflow in BGPUpdate.DecodeFromBytes](https://junglewise.ai/threats/cve-2026-37462-gobgp-integer-underflow-in-bgpupdate-decodefrombytes)
- [osrg GoBGP nil pointer dereference in AdjRib.Update](https://junglewise.ai/threats/cve-2026-42285-osrg-gobgp-nil-pointer-dereference-in-adjrib-update)
- [GoBGP has Remote Denial of Service (Panic) in UpdatePathAttrs4ByteAs via Malformed BGP UPDATE](https://junglewise.ai/threats/cve-2026-41643-gobgp-has-remote-denial-of-service-panic-in)
