Out-of-bounds Read Affecting github.com/osrg/gobgp/packet/bgp package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMOSRGGOBGPPACKETBGP-17934800
  • published10 Jul 2026
  • disclosed9 Jul 2026
  • creditUnknown

Introduced: 9 Jul 2026

CVE-2026-49837  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for github.com/osrg/gobgp/packet/bgp.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the BGP OPEN capability parsing process. An attacker can influence peer AS validation and capability negotiation by sending a specially crafted BGP OPEN message with a malformed capability length, causing the parser to read bytes outside the declared boundary.

CVSS Base Scores

version 4.0
version 3.1