{"id":"CVE-2026-5123","state":"PUBLISHED","title":"osrg GoBGP bgp.go DecodeFromBytes off-by-one","description":"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.","publishedAt":"2026-03-30T15:15:14.229Z","updatedAt":"2026-04-01T18:10:27.344Z","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:N/VA:L/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"}]}],"references":["https://vuldb.com/vuln/354155","https://vuldb.com/vuln/354155/cti","https://vuldb.com/submit/780179","https://github.com/osrg/gobgp/pull/3342","https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f","https://github.com/osrg/gobgp/"],"weaknesses":["CWE-193","CWE-189"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/5xxx/CVE-2026-5123.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-5123","state":"PUBLISHED","datePublished":"2026-03-30T15:15:14.229Z","dateUpdated":"2026-04-01T18:10:27.344Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-03-30T07:50:35.204Z"},"containers":{"cna":{"title":"osrg GoBGP bgp.go DecodeFromBytes off-by-one","descriptions":[{"lang":"en","value":"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."}],"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"}]}],"references":[{"url":"https://vuldb.com/vuln/354155","name":"VDB-354155 | osrg GoBGP bgp.go DecodeFromBytes off-by-one","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/354155/cti","name":"VDB-354155 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/780179","name":"Submit #780179 | osrg GoBGP 4.3.0 Off-by-one Error","tags":["third-party-advisory"]},{"url":"https://github.com/osrg/gobgp/pull/3342","tags":["issue-tracking","patch"]},{"url":"https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f","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:N/VA:L/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:N/A:L/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:N/A:L/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:N/A:P/E:ND/RL:OF/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-193","type":"CWE","lang":"en","description":"Off-by-One"}]},{"descriptions":[{"cweId":"CWE-189","type":"CWE","lang":"en","description":"Numeric Error"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-03-30T15:15:14.229Z"},"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:55:43.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"Sunxj (VulDB User)","type":"reporter"}],"tags":["x_open-source"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-01T18:10:08.172425Z","id":"CVE-2026-5123","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-04-01T18:10:27.344Z"}}]}}}