Vulnerabilities in pkg:golang/github.com/osrg/gobgp

PACKAGE
Advisory Identifier: GHSA-w88c-9vg8-cmq8
Advisory Summary

CVE-2026-7737 is a MODERATE (CVSS 5.3) gobgp has improper restriction of vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Github.com/osrg/gobgp libraries in the Go ecosystem. The issue involves gobgp has improper restriction of operations within the bounds of a memory buffer. Remediation is available by upgrading affected packages to version 4.4.0.

4 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/osrg/gobgp

4 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/osrg/gobgp. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-w88c-9vg8-cmq8 CVE-2026-7737 MODERATE GoBGP has Improper Restriction of Operations within the Bounds of a Memory Buffer
GHSA-c5jg-wr5v-2wp2 CVE-2025-43973 MODERATE GoBGP does not verify that the input length
GHSA-mfvv-mgf6-q25r CVE-2025-43972 MODERATE GoBGP crashes in the flowspec parser
GHSA-hqhq-hp5x-xp3w CVE-2025-43970 MODERATE GoBGP does not properly check the input length

CVE-2026-7737 at a Glance

CVE Identifier CVE-2026-7737
GHSA Identifier GHSA-w88c-9vg8-cmq8
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected Product Github.com/osrg/gobgp
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-7737

To remediate this vulnerability, upgrade all affected Github.com/osrg/gobgp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/osrg/gobgp fixed: 4.4.0
Upgrade github.com/osrg/gobgp to 4.4.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/osrg/gobgp

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-7737, inspect your project dependencies for Github.com/osrg/gobgp:

inspect dependencies for github.com/osrg/gobgp

Analyze the terminal output to locate any version of Github.com/osrg/gobgp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.4.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In Github.com/osrg/gobgp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability was identified in osrg GoBGP up to 4.3.0. Affected by this issue is the function BMPPeerUpNotification.ParseBody/BMPStatisticsReport.ParseBody of the file pkg/packet/bmp/bmp.go of the component BMP Parser. The manipulation leads to out-of-bounds read. The attack can be initiated remotely. Upgrading to version 4.4.0 can resolve this issue. The identifier of the patch is bc77597d42335c78464bc8e15a471d887bbdf260. Upgrading the affected component is recommended.

CVE-2026-7737 Affected Github.com/osrg/gobgp Versions

1 component(s)
Fixed Versions:
4.4.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/osrg/gobgp
Go
< 4.4.0
4.4.0

References

Frequently Asked Questions

What is CVE-2026-7737?
CVE-2026-7737 is a security vulnerability in Github.com/osrg/gobgp involving GoBGP has Improper Restriction of Operations within the Bounds of a Memory Buffer under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.
Which Github.com/osrg/gobgp versions are affected?
Affected versions include releases prior to 4.4.0 across affected packages: github.com/osrg/gobgp.
What version fixes CVE-2026-7737?
Upgrading to 4.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/osrg/gobgp affected?
Yes, github.com/osrg/gobgp is affected in releases prior to 4.4.0. Upgrade your dependency to 4.4.0 or later.
What is the CVSS score of CVE-2026-7737?
CVE-2026-7737 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2026-7737?
CVE-2026-7737 is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.).
How can I check Go dependencies for CVE-2026-7737?
Run the dependency tree command: 'inspect dependencies for github.com/osrg/gobgp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-w88c-9vg8-cmq8",
  "modified" : "2026-05-11T16:11:47Z",
  "published" : "2026-05-04T09:31:09Z",
  "aliases" : [ "CVE-2026-7737" ],
  "summary" : "GoBGP has Improper Restriction of Operations within the Bounds of a Memory Buffer",
  "details" : "A vulnerability was identified in osrg GoBGP up to 4.3.0. Affected by this issue is the function BMPPeerUpNotification.ParseBody/BMPStatisticsReport.ParseBody of the file pkg/packet/bmp/bmp.go of the component BMP Parser. The manipulation leads to out-of-bounds read. The attack can be initiated remotely. Upgrading to version 4.4.0 can resolve this issue. The identifier of the patch is bc77597d42335c78464bc8e15a471d887bbdf260. Upgrading the affected component is recommended.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/osrg/gobgp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-7737"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/osrg/gobgp/commit/bc77597d42335c78464bc8e15a471d887bbdf260"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/osrg/gobgp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/osrg/gobgp/releases/tag/v4.4.0"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/807605"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/360912"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/360912/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-11T16:11:47Z",
    "nvd_published_at" : "2026-05-04T07:16:01Z"
  }
}