CVE-2026-7736: GoBGP Integer Underflow Vulnerability

github.com/osrg/gobgp/v4 Updated 08 May 2026

Summary

04/05/2026
Yes i
Moderate
7.3

CVE-2026-7736: GoBGP has an Integer Underflow Issue. Affects github.com/osrg/gobgp/v4 versions < 4.4.0. Fixed in 4.4.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

GoBGP is an open-source Border Gateway Protocol (BGP) implementation written in Go, designed to facilitate the exchange of routing information between different networks. It is widely used for its performance and flexibility in managing BGP sessions. However, versions up to 4.3.0 are susceptible to an integer underflow issue that can be exploited remotely, potentially compromising the integrity of the routing information.

Vulnerability Detail

The vulnerability arises from an integer underflow in the parseRibEntry function located in pkg/packet/mrt/mrt.go. This flaw allows an attacker to manipulate input data, leading to unexpected behavior and potential exploitation. The ramifications include the possibility of remote code execution or denial of service, making it critical for users to address this issue promptly.

How To Fix

Latest published version: v4.10.0 as of 22 Oct 2026

go get github.com/osrg/gobgp/v4@v4.10.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.4.0

This is the first release that contains the fix.

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

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds recommended for this vulnerability. The best course of action is to upgrade to the patched version as soon as possible.

Conclusion

The integer underflow vulnerability in GoBGP (CVE-2026-7736) poses a significant risk to users of versions up to 4.3.0. It is crucial to upgrade to version 4.4.0 to mitigate this risk. Users are encouraged to utilize tools like Vulert to monitor for vulnerabilities in their applications.

See every vulnerability recorded for github.com/osrg/gobgp/v4 →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.3, indicating a moderate severity level.

Yes, the vulnerability can be exploited remotely, allowing attackers to manipulate routing information.

GoBGP versions up to 4.3.0 are affected by this integer underflow vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate upgrade is not possible, monitor your application closely for any unusual behavior and consider implementing network security measures to mitigate potential attacks.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/osrg/gobgp/v4.

How To Fix

Latest published version: v4.10.0 as of 22 Oct 2026

go get github.com/osrg/gobgp/v4@v4.10.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.4.0

This is the first release that contains the fix.

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

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.