{"id":"CVE-2026-49943","aliases":["CVE-2026-49943"],"related":[],"kind":"vulnerability","state":"published","title":"CZ.NIC BIRD Internet Routing Daemon through 2.19.0 contains a stack-based buffer overflow in the BGP ASPATH mask matching implementation in…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"CZ.NIC BIRD Internet Routing Daemon hasta la versión 2.19.0 contiene un desbordamiento de búfer basado en pila en la implementación de coincidencia de máscara BGP AS_PATH en nest/a-path.c. La función as_path_match() utiliza un array de pila de tamaño fijo de 2048 + 1 entradas pm_pos, mientras que parse_path() expande segmentos AS_PATH de una ACTUALIZACIÓN BGP recibida sin aplicar un límite de capacidad correspondiente. Cuando los Mensajes Extendidos BGP RFC 8654 están habilitados y un filtro BIRD evalúa una expresión de máscara de ruta AS como 'bgp_path ~ [= ... =]', un par BGP establecido puede enviar una AS_PATH larga que contenga más de 2048 ASNs expandidos. Esto provoca que parse_path()/as_path_match() escriba más allá del búfer de pila fijo, lo que resulta en un fallo del demonio. NOTA: según se informa, la posición del Proveedor es que una solución no está siendo priorizada porque todos los operadores de red ya deberían estar rechazando rutas con atributos inusualmente largos.","source":"nvd"}],"published":"2026-06-02T16:16:52.033Z","modified":"2026-07-22T19:10:00.120Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.19.0","status":"affected"}],"vendor":"NIC","product":"BIRD","source":"cvelist"}],"references":[{"url":"https://bird.nic.cz","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gitlab.nic.cz/labs/bird/-/blob/master/NEWS","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-02T18:20:11.710Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49943","url":"https://www.cve.org/CVERecord?id=CVE-2026-49943","licence":"CVE Terms of Use","modified":"2026-06-02T18:24:47.786Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49943","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49943","licence":"Public domain","modified":"2026-07-22T19:10:00.120Z"}],"updatedAt":"2026-11-25T22:59:23.587Z","epss":{"score":0.003,"percentile":0.24524,"date":"2026-12-01T12:00:22.000Z"}}