Off-by-One Vulnerability in osrg GoBGP Product
CVE-2026-5123

6.3MEDIUM

Key Information:

Vendor

Osrg

Status
Vendor
CVE Published:
30 March 2026

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

References

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Sunxj (VulDB User)
.