{"id":"CVE-2026-49943","published":"2026-06-02T16:16:52Z","modified":"2026-06-02T18:24:47Z","title":"CZ.NIC BIRD Internet Routing Daemon through 2.19.0 contains a stack-based buffer overflow in the BGP AS_PATH mask…","vendor":"NIC","product":"BIRD","tier":"tail","description":{"text":"CZ.NIC BIRD Internet Routing Daemon through 2.19.0 contains a stack-based buffer overflow in the BGP AS_PATH mask matching implementation in nest/a-path.c. The as_path_match() function uses a fixed-size stack array of 2048 + 1 pm_pos entries, while parse_path() expands AS_PATH segments from a received BGP UPDATE without enforcing a corresponding capacity limit. When RFC 8654 BGP Extended Messages are enabled and a BIRD filter evaluates an AS path mask expression such as \"bgp_path ~ [= ... =]\", an established BGP peer can send a long AS_PATH containing more than 2048 expanded ASNs. This causes parse_path()/as_path_match() to write beyond the fixed stack buffer, resulting in a crash of the daemon. NOTE: reportedly, the Supplier's position is that a fix is not being prioritized because all network operators should already be rejecting routes with unusually long attributes.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00398,"percentile":0.25591,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://bird.nic.cz","tags":[]},{"url":"https://gitlab.nic.cz/labs/bird/-/blob/master/NEWS","tags":[]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":5.12},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-06-03","earliestUrl":"https://github.com/cxwx/CVE-2026-49943-PoC","repos":[{"name":"cxwx/CVE-2026-49943-PoC","url":"https://github.com/cxwx/CVE-2026-49943-PoC","stars":0,"created":"2026-06-03"}]},"first":{"date":"2026-06-03","source":"PoC-in-GitHub","url":"https://github.com/cxwx/CVE-2026-49943-PoC"},"provenance":"source"},"vendorSlug":"nic","affectedVersions":[{"vendor":"NIC","product":"BIRD","versions":["<= 2.19.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-02T18:20:11.710969Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-33980","exploited":false,"provenance":"source"}}