{"schemaVersion":3,"id":"CVE-2026-49943","aliases":["UBUNTU-CVE-2026-49943","DEBIAN-CVE-2026-49943"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-06-02T16:16:52.033Z","modified":"2026-06-02T18:24:47.786Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":4.6,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":4.6,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00398,"percentile":0.32553,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.098,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.003},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00398,"percentile":0.32553}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00398,"percentile":0.32553}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.html"}],"affected":[{"vendor":"debian","product":"bird","name":"bird","label":"bird","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bird","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"bird2","name":"bird2","label":"bird2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bird2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"bird3","name":"bird3","label":"bird3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bird3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bird","name":"bird","label":"bird","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bird","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bird2","name":"bird2","label":"bird2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bird2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bird3","name":"bird3","label":"bird3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bird3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"nic","product":"bird","name":"BIRD","label":"bird","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.19.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.19.0","eol":null,"hubHref":"/vendor/nic/bird"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bird.nic.cz","label":"bird.nic.cz","hostname":"bird.nic.cz","tags":[]},{"url":"https://gitlab.nic.cz/labs/bird/-/blob/master/NEWS","label":"gitlab.nic.cz/labs/bird/-/blob/master/NEWS","hostname":"gitlab.nic.cz","tags":[]},{"url":"https://ubuntu.com/security/CVE-2026-49943","label":"ubuntu.com/security/CVE-2026-49943","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-49943","label":"www.cve.org/CVERecord?id=CVE-2026-49943","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2026/06/02/2","label":"www.openwall.com/lists/oss-security/2026/06/02/2","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-49943","label":"security-tracker.debian.org/tracker/CVE-2026-49943","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-02T16:16:52.033Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-02T18:24:47.786Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:27:23.960Z","stale":false,"partial":false}}