{"id":"CVE-2026-49838","published":"2026-09-10T21:57:15Z","modified":"2026-09-11T20:31:16Z","title":"GoBGP confederation validation panics on empty AS_PATH attribute","vendor":"osrg","product":"gobgp","tier":"tail","description":{"text":"GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Prior to version 4.7.0, GoBGP accepts a zero-length AS_PATH during UPDATE decoding and later panics while validating that attribute for a confederation eBGP peer. The vulnerable path is in the BGP UPDATE validator: a malformed UPDATE that should be rejected as a malformed AS_PATH instead reaches an unchecked `p.Value[0]` access, allowing a configured confederation eBGP peer to trigger a denial of service. Version 4.7.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:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.27061,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://github.com/osrg/gobgp/security/advisories/GHSA-frrj-87jh-2772","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/osrg/gobgp/commit/4a319a6c25630fb3cdbda3e9ccfe56e702bdaaa0","tags":["x_refsource_MISC"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":5.41},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"osrg","affectedVersions":[{"vendor":"osrg","product":"gobgp","versions":["< 4.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-11T16:31:55.831766Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/osrg/gobgp/v4","vulnerableRanges":["<4.7.0"],"patched":["4.7.0"],"from":["GHSA-frrj-87jh-2772","GO-2026-5954"],"provenance":"source"}],"summary":{"text":"The GoBGP BGP implementation, a Go-based open source router component, has a flaw in its BGP UPDATE validator where a zero-length AS_PATH attribute is accepted during decoding and then indexed without a bounds check during confederation eBGP validation, causing a panic. An attacker who is a configured confederation eBGP peer can send a malformed UPDATE message to trigger a denial of service, with no authentication or user interaction required beyond that peering relationship.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:49Z"},"euvd":{"id":"EUVD-2026-75807","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-osrg-gobgp-cve-2023-46565","parents":[{"from":"CVE-2023-46565","to":"CVE-2026-49838","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/packet/bgp/validate.go"],"commits":["https://github.com/osrg/gobgp/commit/419c50dfac578daa4d11256904d0dc182f1a9b22","https://github.com/osrg/gobgp/commit/4a319a6c25630fb3cdbda3e9ccfe56e702bdaaa0"],"basis":"shared function","functions":["ValidateAttribute"]}]}],"packageHistory":[{"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},{"cve":"CVE-2026-49837","published":"2026-09-10","fixed":"4.6.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"}]}},{"cve":"CVE-2026-49838","published":"2026-09-10","fixed":"4.7.0","kev":false}],"package":"Go:github.com/osrg/gobgp/v4"}}