{"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-10-28T02:30:31.566236635Z","published":"2026-03-30T15:15:14.229Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5123.json","cna_assigner":"VulDB","cwe_ids":["CWE-189","CWE-193"]},"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":"c9c1c120495527d231cfebce28b29a8924717d6c"},{"fixed":"67c059413470df64bc20801c46f64058e88f800f"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"4.0"},{"last_affected":"4.0"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"4.1"},{"last_affected":"4.1"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"4.2"},{"last_affected":"4.2"}]},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"4.3.0"},{"last_affected":"4.3.0"}]},{"range":[{"fixed":"67c059413470df64bc20801c46f64058e88f800f"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["4.0","4.1","4.2","4.3.0","v4.3.0","v4.2.0","v4.1.0","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5123.json"}}],"schema_version":"1.9.2","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"}]}