CVE-2026-5123
osrg GoBGP bgp.go DecodeFromBytes off-by-one
CVSS Score
3.7
EPSS Score
0.0%
EPSS Percentile
14th
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.
| CWE | CWE-193 CWE-189 |
| Vendor | osrg |
| Product | gobgp |
| Published | Mar 30, 2026 |
| Last Updated | Apr 1, 2026 |
Stay Ahead of the Next One
Get instant alerts for osrg gobgp
Be the first to know when new low vulnerabilities affecting osrg gobgp are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
osrg / GoBGP
4.0 4.1 4.2 4.3.0
References
vuldb.com: https://vuldb.com/vuln/354155 vuldb.com: https://vuldb.com/vuln/354155/cti vuldb.com: https://vuldb.com/submit/780179 github.com: https://github.com/osrg/gobgp/pull/3342 github.com: https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f github.com: https://github.com/osrg/gobgp/
Credits
๐ Sunxj (VulDB User)