{"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-07-08T08:13:44.010274494Z","published":"2026-03-30T14:15:14.485Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5122.json","cwe_ids":["CWE-266","CWE-284"],"cna_assigner":"VulDB"},"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":"0"},{"fixed":"12b4ebaef14f61e1c7c7403c770b67826f0b8cf4"},{"fixed":"2b09db390a3d455808363c53e409afe6b1b86d2d"}],"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-5122.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:L/VA:N/SC:N/SI:N/SA:N/E:X"}]}