# CVE-2026-7737: osrg GoBGP out-of-bounds read in BMP Parser

Source: https://junglewise.ai/threats/cve-2026-7737-osrg-gobgp-out-of-bounds-read-in-bmp-parser  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-04. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2026-7737 · Severity: medium · CVSS 5.3 · Published 2026-05-04

GoBGP is an open-source implementation of the Border Gateway Protocol (BGP) used for routing internet traffic. A vulnerability in its BGP Monitoring Protocol (BMP) parser could allow a remote attacker to send specially crafted network packets that cause the service to read memory outside of intended boundaries. This can lead to service instability or crashes, potentially disrupting network routing operations.

Technologies: [github.com/osrg/gobgp (Go)](https://junglewise.ai/threats/technologies/github-com-osrg-gobgp), [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-7737 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-7737 being exploited in the wild.

**How severe is CVE-2026-7737?** Medium severity, with a CVSS score of 5.3, published 4 May 2026.

**Which products and versions are affected?** github.com/osrg/gobgp (Go) < 4.4.0, SEMVER:introduced=0,fixed=4.4.0; github.com/osrg/gobgp/v4 (Go) SEMVER:introduced=0,fixed=4.4.0; Osrg Gobgp < 4.4.0.

**Is there a fix for CVE-2026-7737?** Yes. github.com/osrg/gobgp (Go): upgrade to 4.4.0 or later; 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.

**How is CVE-2026-7737 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-7737?** Check whether you run github.com/osrg/gobgp (Go), 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 (Go): upgrade to 4.4.0 or later

  ```sh
  go get github.com/osrg/gobgp@v4.4.0
  ```

- github.com/osrg/gobgp/v4 (Go): upgrade to 4.4.0 or later

  ```sh
  go get github.com/osrg/gobgp/v4@v4.4.0
  ```


## Technical details

An out-of-bounds read vulnerability exists in GoBGP's BMP (BGP Monitoring Protocol) parser within the 'pkg/packet/bmp/bmp.go' file. Specifically, the 'BMPPeerUpNotification.ParseBody' and 'BMPStatisticsReport.ParseBody' functions fail to validate the length of input data before reading fixed offsets from a data slice. While the internal 'parseBMPMessage' function utilizes a defer/recover mechanism to prevent immediate process crashes, these public methods can still be exploited via remote network packets to trigger panics or unexpected behavior. The issue is addressed in version 4.4.0 by adding explicit length checks (e.g., ensuring at least 4 bytes for Statistics Reports and 20 bytes for Peer Up Notifications) before field parsing.

## Affected products

- osrg GoBGP < 4.4.0

## Identifiers

- CVE-2026-7737
- GHSA-w88c-9vg8-cmq8
- GO-2026-5699

## Timeline

- 2026-04-01: patched: Version 4.4.0 released with fix.
- 2026-05-04: disclosed: Initial disclosure and CVE assignment.
- 2026-05-04: advisory

## References

- [https://github.com/osrg/gobgp/commit/bc77597d42335c78464bc8e15a471d887bbdf260](https://github.com/osrg/gobgp/commit/bc77597d42335c78464bc8e15a471d887bbdf260)
- [https://github.com/osrg/gobgp](https://github.com/osrg/gobgp)
- [https://github.com/osrg/gobgp/releases/tag/v4.4.0](https://github.com/osrg/gobgp/releases/tag/v4.4.0)
- [https://vuldb.com/submit/807605](https://vuldb.com/submit/807605)
- [https://vuldb.com/vuln/360912](https://vuldb.com/vuln/360912)

## 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)
