Buffer Overflow Affecting github.com/osrg/gobgp/v4/pkg/packet/bgp package, versions >=4.0.0 <4.4.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (28th percentile)

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-GITHUBCOMOSRGGOBGPV4PKGPACKETBGP-16404010
  • published4 May 2026
  • disclosed4 May 2026
  • creditrensiru

Introduced: 4 May 2026

CVE-2026-7735  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade github.com/osrg/gobgp/v4/pkg/packet/bgp to version 4.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow in the DecodeFromBytes function of the AIGP Attribute Parser. An attacker can execute arbitrary code, cause a denial of service, or compromise data integrity and confidentiality by sending specially crafted BGP packets to the affected process.

CVSS Base Scores

version 4.0
version 3.1