CVE-2026-37462: GoBGP Integer Underflow Vulnerability in BGPUpdate.DecodeFromBytes Function

github.com/osrg/gobgp/v4 Updated 13 Jul 2026

Summary

03/06/2026
Yes i
High
7.3

CVE-2026-37462: GoBGP: Integer underflow in the BGPUpdate.DecodeFromBytes function. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

GoBGP is an open-source implementation of the Border Gateway Protocol (BGP) written in Go. It is designed to provide a flexible and efficient way to manage BGP routing. GoBGP is widely used in networking applications and services due to its performance and ease of integration. However, like any software, it is susceptible to vulnerabilities that can compromise its functionality and security.

Vulnerability Detail

An integer underflow in the BGPUpdate.DecodeFromBytes function located in the bgp/bgp.go file of gobgp version 4.3.0 allows attackers to exploit this flaw by sending a specially crafted BGP UPDATE message. This can lead to a Denial of Service (DoS), causing the affected service to become unresponsive. The vulnerability arises from improper handling of integer values, which can result in unexpected behavior when processing BGP messages.

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

If you are unable to update to the patched version immediately, consider implementing input validation to reject malformed BGP UPDATE messages. This can help mitigate the risk of exploitation until the update can be applied.

Conclusion

The CVE-2026-37462 vulnerability in GoBGP represents a significant risk due to the potential for Denial of Service attacks. It is crucial for users of the affected version to update to version 4.4.0 or later to mitigate this risk. Additionally, utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

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

Share this vulnerability

FAQ

The vulnerability can lead to a Denial of Service (DoS), making the affected GoBGP service unresponsive.

You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.

An integer underflow occurs when an arithmetic operation attempts to create a numeric value that is lower than the minimum representable value for that data type, potentially leading to unexpected behavior.

The CVSS score for this vulnerability is 7.3, indicating a high severity level.

Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities using just the Gopkg.lock file.

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.