Skip to main content

Gobgp CVE-2026-5123

| EUVDEUVD-2026-17109 MEDIUM
Off-by-one Error (CWE-193)
2026-03-30 VulDB
6.3
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
Impact

This vulnerability presents low-to-moderate real-world risk despite network-reachable attack vector. CVSS v3.1 base score of 3.7 reflects low severity with only availability impact (no confidentiality or integrity loss). The CVSS vector emphasizes high attack complexity (AC:H) and difficult exploitability, indicating the attacker must craft a very specific packet payload-merely sending malformed BGP data is insufficient. EPSS and KEV data are not available, and no public exploit code has been identified, reducing immediate threat likelihood. However, the attack is remotely exploitable without authentication (PR:N, UI:N), meaning any network-adjacent attacker (or internet-routed if GoBGP is exposed) can attempt exploitation. BGP infrastructure is often critical to network operations, so a reliable denial-of-service against a route reflector or core router could have operational impact. Organizations running GoBGP should prioritize patching, but this is not a critical or high-severity issue warranting emergency response; standard update cycles are appropriate.

Exploit ScenarioDerived

An attacker with network access to a GoBGP instance (either via direct BGP peering or if GoBGP is internet-exposed) sends a specially crafted BGP message with a malicious data[1] value that triggers the off-by-one boundary condition in DecodeFromBytes. This causes the GoBGP process to access memory beyond the intended buffer bounds, resulting in a segmentation fault or similar memory violation that crashes the BGP daemon and disrupts routing services. Due to high attack complexity, the attacker must understand the exact packet structure and data layout to reliably trigger the flaw; generic BGP fuzzing or packet injection is unlikely to succeed.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 30, 2026

Denial of service in osrg GoBGP up to version 4.3.0 via off-by-one error in the DecodeFromBytes function allows remote, unauthenticated attackers to crash the BGP daemon through manipulation of packet data, resulting in availability impact. The vulnerability requires high attack complexity and has difficult exploitability; no public exploit code or active exploitation is currently confirmed, though a patch is available from the vendor.

RemediationAI

Upgrade osrg GoBGP to a version incorporating commit 67c059413470df64bc20801c46f64058e88f800f or later. The fix is available via GitHub pull request https://github.com/osrg/gobgp/pull/3342 and commit https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f. Users should obtain the patched release from the osrg/gobgp repository (https://github.com/osrg/gobgp/) once a tagged release incorporating this commit is available. Until patching is possible, operators can mitigate risk by restricting BGP peer connectivity to trusted sources and implementing network access controls on BGP ports (TCP 179), though this is a temporary measure only.

Affected VersionsENISA

GoBGP 4.0
GoBGP 4.1
GoBGP 4.2
GoBGP 4.3.0

Affected Packages

euvd gobgp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the BGP packet parsing logic (pkg/packet/bgp/bgp.go) in the DecodeFromBytes function, which is responsible for deserializing BGP protocol messages. An off-by-one error (CWE-193) in boundary checking when processing the data[1] argument allows an attacker to trigger an out-of-bounds access condition. BGP operates as a TCP-based protocol (RFC 4271) used for inter-domain routing; the DecodeFromBytes function is a critical parsing function that processes incoming BGP UPDATE, KEEPALIVE, NOTIFICATION, and OPEN messages. The off-by-one flaw suggests improper array or buffer indexing during packet deserialization, which can cause memory access violations leading to process termination.

Know when Gobgp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 30, 2026 - 16:00 nvd
Patch available
CVE Published
Mar 30, 2026 - 15:15 nvd
MEDIUM 6.3

DescriptionCVE.org

A weakness has been identified in osrg GoBGP up to 4.3.0. This impacts the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go. Executing a manipulation of the argument data[1] can lead to off-by-one. The attack may be launched remotely. Attacks of this nature are highly complex. The exploitability is said to be difficult. This patch is called 67c059413470df64bc20801c46f64058e88f800f. A patch should be applied to remediate this issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in osrg GoBGP BGP Message Handler Flaws

View all 3

Vendor StatusVendor

Debian

gobgp
Release Status Fixed Version Urgency
bullseye vulnerable 2.25.0-2 -
bookworm vulnerable 3.10.0-1 -
trixie vulnerable 3.36.0-2 -
forky, sid vulnerable 4.3.0-1 -
(unstable) fixed (unfixed) -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy