CVE-2026-5123 PUBLISHED

osrg GoBGP bgp.go DecodeFromBytes off-by-one

Assigner: VulDB
Reserved: 30.03.2026 Published: 30.03.2026 Updated: 30.03.2026

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.

Metrics

CVSS 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
CVSS Score: 6.3

Product Status

Vendor osrg
Product GoBGP
Versions
  • Version 4.0 is affected
  • Version 4.1 is affected
  • Version 4.2 is affected
  • Version 4.3.0 is affected

Credits

  • Sunxj (VulDB User) reporter

References

Problem Types

  • Off-by-One CWE
  • Numeric Error CWE