{"id":"CVE-2026-5122","summary":"osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control","details":"A security flaw has been discovered in osrg GoBGP up to 4.3.0. This affects the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP OPEN Message Handler. Performing a manipulation of the argument domainNameLen results in improper access controls. The attack may be initiated remotely. A high degree of complexity is needed for the attack. The exploitability is reported as difficult. The patch is named 2b09db390a3d455808363c53e409afe6b1b86d2d. It is suggested to install a patch to address this issue.","modified":"2026-11-11T10:47:31.108275480Z","published":"2026-03-30T14:15:14.485Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-266","CWE-284"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5122.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-5122.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5122"},{"type":"ADVISORY","url":"https://vuldb.com/submit/780124"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/354154"},{"type":"REPORT","url":"https://vuldb.com/vuln/354154/cti"},{"type":"FIX","url":"https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d"},{"type":"FIX","url":"https://github.com/osrg/gobgp/pull/3343"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/osrg/gobgp","events":[{"introduced":"c9c1c120495527d231cfebce28b29a8924717d6c"},{"fixed":"2b09db390a3d455808363c53e409afe6b1b86d2d"}],"database_specific":{"extracted_events":[{"strategy":"StandaloneSingleVersion","range":[{"introduced":"4.0"},{"last_affected":"4.0"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"4.1"},{"last_affected":"4.1"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"4.2"},{"last_affected":"4.2"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"4.3.0"},{"last_affected":"4.3.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"2b09db390a3d455808363c53e409afe6b1b86d2d"}],"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-5122.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:L/VA:N/SC:N/SI:N/SA:N/E:X"}]}