6.3medium
osrg GoBGP bgp.go DecodeFromBytes off-by-one
- Severity
- 6.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| osrg GoBGP | 4.0, 4.1, 4.2, 4.3.0, before 4.4.0 | CVE List, NVD |
All scores
| VulDB | 6.3medium CVSS:4.0 | 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.7low CVSS:3.1 | 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.7low CVSS:3.0 | 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.6low CVSS:2.0 | AV:N/AC:H/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha identificado una debilidad en osrg GoBGP hasta 4.3.0. Esto impacta en la función DecodeFromBytes del archivo pkg/packet/bgp/bgp.go. Ejecutar una manipulación del argumento data[1] puede llevar a off-by-one. El ataque puede ser lanzado remotamente. Ataques de esta naturaleza son altamente complejos. La explotabilidad se dice que es difícil. Este parche se llama 67c059413470df64bc20801c46f64058e88f800f. Un parche debería aplicarse para remediar este problema.
References
| https://vuldb.com/vuln/354155 | technical-description, third-party-advisory, vdb-entry | |
| https://vuldb.com/vuln/354155/cti | permissions-required, signature, vdb-entry | |
| https://vuldb.com/submit/780179 | third-party-advisory, vdb-entry | |
| https://github.com/osrg/gobgp/pull/3342 | issue-tracking, patch | |
| https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f | patch | |
| https://github.com/osrg/gobgp/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-5123 changed 2026-04-01 | CVE Terms of Use |
| NVD | CVE-2026-5123 changed 2026-06-17 | Public domain |