{"id":"CVE-2026-49837","published":"2026-09-10T21:56:13Z","modified":"2026-09-15T15:10:15Z","title":"GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries","vendor":"osrg","product":"gobgp","tier":"tail","description":{"text":"GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Versions prior to 4.6.0 contain a BGP OPEN capability parsing issue where several concrete capability decoders may parse data from the full remaining capability buffer instead of the slice bounded by the declared capability length, `CapLen`. A malformed BGP OPEN message can cause bytes from a following capability to be interpreted as part of the current capability. The most security-relevant case is the 4-octet AS capability, where a capability with `CapLen == 0` may cause the parser to read bytes from the following capability as the 4-octet AS value. This parsed value may later affect peer AS validation during BGP session establishment. Version 4.6.0 patches the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00332,"percentile":0.26899,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/osrg/gobgp/security/advisories/GHSA-gjrg-jjr3-56cm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/osrg/gobgp/commit/f02ca397821f6ca182ef4eb492c3cbc459552d7c","tags":["x_refsource_MISC"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":5.38},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"osrg","affectedVersions":[{"vendor":"osrg","product":"gobgp","versions":["< 4.6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-15T15:10:05.962553Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/osrg/gobgp/v4","vulnerableRanges":["<4.6.0"],"patched":["4.6.0"],"from":["GHSA-gjrg-jjr3-56cm","GO-2026-5955"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-75806","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gobgp-cve-2025-43971","parents":[{"from":"CVE-2025-43971","to":"CVE-2026-49837","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/packet/bgp/bgp.go"],"commits":["https://github.com/osrg/gobgp/commit/08a001e06d90e8bcc190084c66992f46f62c0986","https://github.com/osrg/gobgp/commit/f02ca397821f6ca182ef4eb492c3cbc459552d7c"],"basis":"shared function","functions":["DecodeFromBytes"]}]},{"from":"CVE-2025-43972","to":"CVE-2026-49837","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/packet/bgp/bgp.go"],"commits":["https://github.com/osrg/gobgp/commit/ca7383f450f7b296c5389feceef2467de5ab6e5a","https://github.com/osrg/gobgp/commit/f02ca397821f6ca182ef4eb492c3cbc459552d7c"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-7736","published":"2026-05-04","fixed":"4.4.0","kev":false},{"cve":"CVE-2026-7737","published":"2026-05-04","fixed":"4.4.0","kev":false},{"cve":"CVE-2026-42285","published":"2026-05-07","fixed":"4.5.0","kev":false,"link":{"from":"CVE-2026-42285","to":"CVE-2026-49837","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/osrg/gobgp/v4","fromFixed":"4.5.0","toFixed":"4.6.0","daysApart":126}]}},{"cve":"CVE-2026-49837","published":"2026-09-10","fixed":"4.6.0","kev":false},{"cve":"CVE-2026-49838","published":"2026-09-10","fixed":"4.7.0","kev":false,"link":{"from":"CVE-2026-49837","to":"CVE-2026-49838","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/osrg/gobgp/v4","fromFixed":"4.6.0","toFixed":"4.7.0","daysApart":0},{"kind":"similar","provenance":"machine","score":0.21,"basis":"same product + description similarity"}]}}],"package":"Go:github.com/osrg/gobgp/v4"}}