CVE-2026-5123CWE-193

osrg GoBGP bgp.go DecodeFromBytes off-by-one

Medium · published March 30, 2026

CVSS v4.0
6.3
EPSS
1%
Percentile
51.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.3 · MEDIUM
Vector
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
EPSS
0.00677 · 51.7th percentile
Weakness
CWE-193 · Off-by-one Error
Published
2026-03-30T15:15Z
EPSS history
Timeline
  • 30 MAR 15:15Z
    osrg GoBGP bgp.go DecodeFromBytes off-by-one
    cvelistv5