Off-by-One Vulnerability in osrg GoBGP Product
CVE-2026-5123
6.3MEDIUM
What is CVE-2026-5123?
A vulnerability has been discovered in the osrg GoBGP product, specifically affecting the DecodeFromBytes function located in pkg/packet/bgp/bgp.go. This issue arises from a manipulation of the argument data[1], which can potentially result in an off-by-one error. While the attack can be executed remotely, it is recognized as a complex exploit. A patch has been released to address this vulnerability, and it is recommended for users to apply this fix to ensure the integrity and security of their systems.
Affected Version(s)
GoBGP 4.0
GoBGP 4.1
GoBGP 4.2
