Vulnerability
CVE-2026-49838
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.
12 advisories report this vulnerability, across 7 ecosystems.
Advisories in Go
-
GHSA-frrj-87jh-2772
GoBGP confederation validation panics on empty AS_PATH attribute
-
GO-2026-5954
GoBGP confederation validation panics on empty AS_PATH attribute in github.com/osrg/gobgp