{"id":"CVE-2026-5122","aliases":["DEBIAN-CVE-2026-5122","EUVD-2026-17091","GHSA-vj73-h4qp-97x2","UBUNTU-CVE-2026-5122"],"status":"published","title":"osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control","description":"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.","severity":{"version":"4.0","score":6.3,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00298,"percentile":0.22717,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-266","CWE-284"],"published":"2026-03-30T14:15:14Z","modified":"2026-11-11T02:48:47Z","fixes":[{"ecosystem":"Debian:14","package":"gobgp","fixed_in":["4.4.0-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gobgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0-1","3.16.0-1","3.19.0-1","3.21.0-1","3.23.0-1","3.25.0-1","3.27.0-1","3.28.0-1","3.29.0-1","3.30.0-1","3.31.0-1","3.32.0-1","3.33.0-1","3.35.0-1","3.36.0-1","3.36.0-2","4.3.0-1","4.4.0-1","4.5.0-1","4.5.0-1~bpo13+1","4.6.0-1","4.6.0-2","4.6.0-2~bpo13+1","4.7.0-1","4.7.0-1~bpo13+1","4.8.0-1","4.8.0-2~exp1"]},{"source":"osv","ecosystem":"Debian:13","package":"gobgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.36.0-2","4.3.0-1","4.4.0-1","4.5.0-1","4.5.0-1~bpo13+1","4.6.0-1","4.6.0-2","4.6.0-2~bpo13+1","4.7.0-1","4.7.0-1~bpo13+1","4.8.0-1","4.8.0-2~exp1"]},{"source":"osv","ecosystem":"Debian:14","package":"gobgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.0-1"}]}],"versions":["3.36.0-2","4.3.0-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gobgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15-1","1.29-1","1.29-1ubuntu0.1+esm1","1.29-1ubuntu0.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"gobgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.33-1","2.11.0-1","2.12.0-1","2.12.0-1ubuntu0.1~esm1","2.12.0-1ubuntu0.1~esm2","2.12.0-1ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"gobgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.25.0-2","2.25.0-3","2.25.0-3build1","2.25.0-3ubuntu0.1","2.25.0-3ubuntu0.1+esm1","2.25.0-3ubuntu0.1+esm2","2.25.0-3ubuntu0.1+esm3","2.25.0-3ubuntu0.1+esm4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"gobgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.16.0-1build1","3.19.0-1","3.21.0-1","3.23.0-1","3.23.0-1ubuntu0.1","3.23.0-1ubuntu0.2","3.23.0-1ubuntu0.2+esm1","3.23.0-1ubuntu0.3","3.23.0-1ubuntu0.3+esm1","3.23.0-1ubuntu0.3+esm2","3.23.0-1ubuntu0.3+esm3","3.23.0-1ubuntu0.3+esm4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"gobgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.35.0-1","3.36.0-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"gobgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.36.0-2build1","4.8.0-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"gobgp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.36.0-2","3.36.0-2build1","3.36.0-2ubuntu0.1~esm1"]}],"products":[{"vendor":"osrg","product":"gobgp"}],"references":[{"url":"https://vuldb.com/vuln/354154","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://vuldb.com/vuln/354154/cti","tags":["signature","permissions-required","Permissions Required","VDB Entry","report"]},{"url":"https://vuldb.com/submit/780124","tags":["third-party-advisory","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://github.com/osrg/gobgp/pull/3343","tags":["issue-tracking","patch","Issue Tracking","fix","report"]},{"url":"https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d","tags":["patch","Patch","fix"]},{"url":"https://github.com/osrg/gobgp/","tags":["product","Product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5122","tags":["advisory"]},{"url":"https://github.com/osrg/gobgp"},{"url":"https://github.com/advisories/GHSA-vj73-h4qp-97x2"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5122.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-5122","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-5122","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-5122","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-5122","title":"osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control","description":"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.","status":"published","published":"2026-03-30T14:15:14.485Z","modified":"2026-03-30T16:38:44.52Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C","level":"low","assessor":"cna"},{"version":"3.0","score":3.7,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C","level":"low","assessor":"cna"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:N/I:P/A:N/E:ND/RL:OF/RC:C","assessor":"cna"}],"cwes":["CWE-284","CWE-266"],"updated_at":"2026-11-02T13:39:39.001586Z"}],"euvd":[{"id":"EUVD-2026-17091","description":"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.","status":"published","published":"2026-03-30T14:15:14Z","modified":"2026-03-30T16:38:44Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T19:25:25.878486Z"}],"ghsa":[{"id":"GHSA-vj73-h4qp-97x2","title":"A security flaw has been discovered in osrg GoBGP up to 4.3.0. This affects the function...","description":"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.","status":"published","published":"2026-03-30T15:32:07Z","modified":"2026-03-30T15:32:17Z","cvss":[{"version":"4.0","score":6.3,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-266"],"updated_at":"2026-11-02T15:06:55.220248Z"}],"nvd":[{"id":"CVE-2026-5122","description":"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.","status":"published","published":"2026-03-30T15:16:35.947Z","modified":"2026-06-17T10:58:28.37Z","cvss":[{"version":"4.0","score":6.3,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:N/I:P/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-266","CWE-284"],"updated_at":"2026-11-02T14:12:12.261218Z"}],"osv":[{"id":"CVE-2026-5122","title":"osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control","description":"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.","status":"published","published":"2026-03-30T14:15:14.485Z","modified":"2026-11-11T02:48:47.174937743Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"cwes":["CWE-266","CWE-284"],"updated_at":"2026-11-11T03:22:00.901153Z"},{"id":"DEBIAN-CVE-2026-5122","description":"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.","status":"published","published":"2026-03-30T15:16:35.947Z","modified":"2026-10-01T03:03:24.696326624Z","cvss":[{"version":"4.0","score":6.3,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:45:56.877408Z"},{"id":"UBUNTU-CVE-2026-5122","description":"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.","status":"published","published":"2026-03-30T15:16:00Z","modified":"2026-10-17T12:58:34.509876798Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"},{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T16:56:33.391918Z"}]}}
