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
Share

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/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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

4
EUVD ID Assigned
Mar 30, 2026 - 16:00 euvd
EUVD-2026-17109
Analysis Generated
Mar 30, 2026 - 16:00 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

More in Gobgp

View all
CVE-2025-43971 HIGH
8.6 Apr 21

An issue was discovered in GoBGP before 3.35.0. Rated high severity (CVSS 8.6), this vulnerability is remotely exploitab

CVE-2026-7735 MEDIUM
6.9 May 04

Buffer overflow in GoBGP's AIGP Attribute Parser allows remote unauthenticated attackers to manipulate the PathAttribute

CVE-2026-7734 MEDIUM
6.9 May 04

Denial of service in osrg GoBGP up to version 4.3.0 allows remote attackers to trigger an infinite loop via malformed SR

CVE-2026-7737 MEDIUM
6.9 May 04

Out-of-bounds read in GoBGP BMP parser allows remote attackers to trigger information disclosure via malformed BMP messa

CVE-2026-7736 MEDIUM
6.9 May 04

Integer underflow in osrg GoBGP up to version 4.3.0 allows remote attackers to trigger a crash or information disclosure

CVE-2025-43973 MEDIUM
6.8 Apr 21

An issue was discovered in GoBGP before 3.35.0. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploit

CVE-2025-43972 MEDIUM
6.8 Apr 21

An issue was discovered in GoBGP before 3.35.0. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploit

CVE-2026-5124 MEDIUM
6.3 Mar 30

Improper access controls in osrg GoBGP up to version 4.3.0 allow remote attackers to bypass authentication via manipulat

CVE-2026-5122 MEDIUM
6.3 Mar 30

Improper access control in osrg GoBGP up to 4.3.0 allows remote attackers to manipulate the domainNameLen parameter in B

CVE-2025-43970 MEDIUM
4.3 Apr 21

An issue was discovered in GoBGP before 3.35.0. Rated medium severity (CVSS 4.3), this vulnerability is no authenticatio

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) -

Share

CVE-2026-5123 vulnerability details – vuln.today

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