CVE-2026-5123
JSON

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 packageVersionsReported by
osrg GoBGP4.0, 4.1, 4.2, 4.3.0, before 4.4.0CVE List, NVD

All scores

VulDB6.3medium CVSS:4.0CVSS: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
VulDB3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
VulDB3.7low CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
VulDB2.6low CVSS:2.0AV:N/AC:H/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C

Classification

CWE-189CWE-193

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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/354155technical-description, third-party-advisory, vdb-entry
https://vuldb.com/vuln/354155/ctipermissions-required, signature, vdb-entry
https://vuldb.com/submit/780179third-party-advisory, vdb-entry
https://github.com/osrg/gobgp/pull/3342issue-tracking, patch
https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800fpatch
https://github.com/osrg/gobgp/product

Sources

SourceRecordLicence
CVE ListCVE-2026-5123 changed 2026-04-01CVE Terms of Use
NVDCVE-2026-5123 changed 2026-06-17Public domain