CVE-2026-41643: GoBGP Remote Denial of Service Vulnerability in UpdatePathAttrs4ByteAs

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

Summary

24/07/2026
Yes i
High
7.5

CVE-2026-41643: GoBGP: Remote Denial of Service (Panic) in UpdatePathAttrs4ByteAs via Malformed BGP UPDATE in github.com/osrg/gobgp. Affects github.com/osrg/gobgp/v4 versions < 4.3.0. Fixed in 4.3.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 Penetration testing for web, API and mobile 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 BGP (Border Gateway Protocol) implementation written in Go. It is designed to facilitate the management of BGP routes and is widely used in networking applications. The package provides functionalities such as route advertisement, peer management, and path attribute handling. However, it has been found to be vulnerable to a specific issue that can lead to a remote denial of service.

Vulnerability Detail

The vulnerability identified as CVE-2026-41643 occurs in the UpdatePathAttrs4ByteAs function of GoBGP when it processes malformed BGP UPDATE messages. This flaw can cause the application to panic, leading to a denial of service. Attackers can exploit this vulnerability by sending specially crafted BGP UPDATE messages to the GoBGP server, which may result in unexpected crashes and service interruptions. The affected functions include BgpServer.AddPeer, NewBgpServer, and server.AddPeer, which are critical for establishing BGP peer connections.

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.3.0

This is the first release that contains the fix.

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

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

Workaround

As a temporary workaround, you can implement input validation to filter out malformed BGP UPDATE messages before they reach the GoBGP server. This can help mitigate the risk of triggering the panic condition until you can apply the patch.

Conclusion

The CVE-2026-41643 vulnerability in GoBGP poses a significant risk of remote denial of service due to the mishandling of malformed BGP UPDATE messages. It is crucial for users of the GoBGP package to update to version 4.3.0 or later to mitigate this risk. Additionally, implementing input validation can serve as a temporary measure until the update is applied.

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

Share this vulnerability

FAQ

CVE-2026-41643 is a vulnerability in GoBGP that can lead to a remote denial of service due to malformed BGP UPDATE messages.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which monitors open-source vulnerabilities in real-time.

Exploitation of this vulnerability can cause the GoBGP application to crash, resulting in service disruptions and potential downtime for applications relying on BGP routing.

Yes, a patch has been released in version 4.3.0 of the GoBGP package, which addresses this vulnerability.

If you cannot update the package right away, consider implementing input validation as a temporary workaround to filter out malformed BGP UPDATE messages.

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.3.0

This is the first release that contains the fix.

go get github.com/osrg/gobgp/v4@v4.3.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.