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.
Use CWE-189, Osrg vendor hub and Gobgp product page to widen CVE-2026-5123 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2025-43971, CVE-2026-30405 and CVE-2025-43973 for nearby disclosures in the same product family.