{"id":"CVE-2026-5123","summary":"osrg GoBGP bgp.go DecodeFromBytes off-by-one","details":"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.","modified":"2026-07-08T08:12:41.289746949Z","published":"2026-03-30T15:15:14.229Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-189","CWE-193"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5123.json"},"references":[{"type":"WEB","url":"https://github.com/osrg/gobgp/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5123.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5123"},{"type":"ADVISORY","url":"https://vuldb.com/submit/780179"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/354155"},{"type":"REPORT","url":"https://vuldb.com/vuln/354155/cti"},{"type":"FIX","url":"https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f"},{"type":"FIX","url":"https://github.com/osrg/gobgp/pull/3342"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/osrg/gobgp","events":[{"introduced":"0"},{"fixed":"12b4ebaef14f61e1c7c7403c770b67826f0b8cf4"},{"fixed":"67c059413470df64bc20801c46f64058e88f800f"}],"database_specific":{"cpe":"cpe:2.3:a:osrg:gobgp:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.4.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["4.0","4.1","4.2","4.3.0","v4.3.0","v4.2.0","v4.1.0","v4.0.0","v3.37.0","v3.36.0","v3.35.0","v3.34.0","v3.33.0","v3.32.0","v3.31.0","v3.30.0","v3.29.0","v3.28.0","v3.27.0","v3.26.0","v3.25.0","v3.24.0","v3.23.0","v3.22.0","v3.21.0","v3.20.0","v3.19.0","v3.17.0","v3.16.0","v3.15.0","v3.14.0","v3.13.0","v3.12.0","v3.11.0","v3.10.0","v3.9.0","v3.8.0","v3.7.0","v3.6.0","v3.5.0","v3.4.0","v3.3.0","v3.2.0","v3.1.0","v3.0.0","v3.0.0-rc4","v3.0.0-rc3","v3.0.0-rc2","v3.0.0-rc1","v2.34.0","v2.33.0","v2.32.0","v2.31.0","v2.30.0","v2.29.0","v2.28.0","v2.27.0","v2.26.0","v2.25.0","v2.24.0","v2.23.0","v2.22.0","v2.21.0","v2.20.0","v2.19.0","v2.18.0","v2.17.0","v2.16.0","v2.15.0","v2.14.0","v2.13.0","v2.12.0","v2.11.0","v2.10.0","v2.9.0","v2.8.0","v2.7.0","v2.6.0","v2.5.0","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.33","v1.32","v1.31","v1.30","v1.29","v1.28","v1.27","v1.26","v1.25","v1.24","v1.23","v1.22","v1.21","v1.20","v1.19","v1.18","v1.17","v1.16","v1.15","v1.14","v1.13","v1.12","v1.11","v1.10","v1.9","v1.8","v1.7","v1.6","v1.5","v1.4","v1.3","v1.2","v1.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5123.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}