CVE-2026-5123 json
osrg GoBGP bgp.go DecodeFromBytes off-by-one
published 2026-03-30 7 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-17109
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- osrg gobgp 4.4.0
- gobgp Debian 14 4.4.0-1
debian advisories DEBIAN-CVE-2026-5123
- github.com/osrg/gobgp@67c0594 commit
- github.com/osrg/gobgp#3342 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-5123 updated cvss 3.7
github.com/osrg/gobgp: osrg GoBGP: Denial of service via off-by-one error
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | 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 |
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C |
| CNA | 3.0 | 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C |
| CNA | 2.0 | 2.6 | AV:N/AC:H/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C |
| CNA | 4.0 | 6.3 | 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 |
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CNA | 2.0 | 2.6 | AV:N/AC:H/Au:N/C:N/I:N/A:P |
Affected products
- osrg GoBGP
Classification
References
-
github.com
/osrg/gobgp/pull/3342
issue-tracking, patch
-
github.com
/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f
patch
-
vuldb.com
/vuln/354155
vdb-entry, technical-description, third-party-advisory
-
vuldb.com
/vuln/354155/cti
signature, permissions-required, vdb-entry
-
vuldb.com
/submit/780179
third-party-advisory, vdb-entry
-
github.com
/osrg/gobgp/
product
Sources
- CVE List CVE-2026-5123
- NVD CVE-2026-5123
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.