CVE-2026-5123
osrg GoBGP bgp.go DecodeFromBytes off-by-one
- State
- Published
- Severity
- 6.3 Medium
- Published
- Mar 30, 2026
- Updated
- Apr 1, 2026
- Reserved
- Mar 30, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | 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 | VulDB |
| 3.1 | 3.7 Low | 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 | VulDB |
| 3.0 | 3.7 Low | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | VulDB |
| 2.0 | 2.6 Low | AV:N/AC:H/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
GoBGPosrg |
|
References
- VDB-354155 | osrg GoBGP bgp.go DecodeFromBytes off-by-onevdb-entrytechnical-description
- VDB-354155 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #780179 | osrg GoBGP 4.3.0 Off-by-one Errorthird-party-advisory
- https://github.com/osrg/gobgp/pull/3342issue-trackingpatch
- https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800fpatch
- https://github.com/osrg/gobgp/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.