{"id":"CVE-2026-5122","state":"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.","publishedAt":"2026-03-30T14:15:14.485Z","updatedAt":"2026-03-30T16:38:44.520Z","severity":{"score":6.3,"label":"Medium","version":"4.0","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","source":"VulDB"},"assigner":"VulDB","products":["osrg GoBGP"],"affected":[{"vendor":"osrg","product":"GoBGP","versions":[{"version":"4.0","status":"affected"},{"version":"4.1","status":"affected"},{"version":"4.2","status":"affected"},{"version":"4.3.0","status":"affected"}],"modules":["BGP OPEN Message Handler"]}],"references":["https://vuldb.com/vuln/354154","https://vuldb.com/vuln/354154/cti","https://vuldb.com/submit/780124","https://github.com/osrg/gobgp/pull/3343","https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d","https://github.com/osrg/gobgp/"],"weaknesses":["CWE-284","CWE-266"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/5xxx/CVE-2026-5122.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-5122","state":"PUBLISHED","datePublished":"2026-03-30T14:15:14.485Z","dateUpdated":"2026-03-30T16:38:44.520Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-03-30T07:46:42.677Z"},"containers":{"cna":{"title":"osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"osrg","product":"GoBGP","versions":[{"version":"4.0","status":"affected"},{"version":"4.1","status":"affected"},{"version":"4.2","status":"affected"},{"version":"4.3.0","status":"affected"}],"modules":["BGP OPEN Message Handler"]}],"references":[{"url":"https://vuldb.com/vuln/354154","name":"VDB-354154 | osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/354154/cti","name":"VDB-354154 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/780124","name":"Submit #780124 | GoBGP 4.3.0 Improper Handling of Length Parameter Inconsistency","tags":["third-party-advisory"]},{"url":"https://github.com/osrg/gobgp/pull/3343","tags":["issue-tracking","patch"]},{"url":"https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d","tags":["patch"]},{"url":"https://github.com/osrg/gobgp/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":6.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":3.7,"vectorString":"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","baseSeverity":"LOW"}},{"cvssV3_0":{"version":"3.0","baseScore":3.7,"vectorString":"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","baseSeverity":"LOW"}},{"cvssV2_0":{"version":"2.0","baseScore":2.6,"vectorString":"AV:N/AC:H/Au:N/C:N/I:P/A:N/E:ND/RL:OF/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","type":"CWE","lang":"en","description":"Improper Access Controls"}]},{"descriptions":[{"cweId":"CWE-266","type":"CWE","lang":"en","description":"Incorrect Privilege Assignment"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-03-30T14:15:14.485Z"},"timeline":[{"time":"2026-03-30T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-03-30T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-03-30T09:51:53.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"rensiru (VulDB User)","type":"reporter"}],"tags":["x_open-source"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-30T16:38:21.954548Z","id":"CVE-2026-5122","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-30T16:38:44.520Z"}}]}}}