Skip to main content
CVE-2026-49943VulnerabilityPublished Updated

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

Affects birdSource GCVE Database

0
Compare
Authoritative record:CVE-2026-49943· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium.

Data as of 24 Nov 2026, 20:42 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10bird2pkg:deb/ubuntu/bird2?arch=source&distro=stonkingOther threatsAffected
  • 2.18-1 – 2.19.2-1
5 affected builds
Fixed in–
Ubuntu 26.10bird3pkg:deb/ubuntu/bird3?arch=source&distro=stonkingOther threatsAffected
  • 3.2.0-1 – 3.3.2-1
5 affected builds
Fixed in–
Ubuntu 26.04 LTSbird2pkg:deb/ubuntu/bird2?arch=source&distro=resoluteOther threatsAffected
  • 2.17.1-1 – 2.18-1
5 affected builds
Fixed in–
Ubuntu 26.04 LTSbird3pkg:deb/ubuntu/bird3?arch=source&distro=resoluteOther threatsAffected
  • 3.1.0-1 – 3.2.0-1
5 affected builds
Fixed in–
Ubuntu 25.10bird2pkg:deb/ubuntu/bird2?arch=source&distro=questingOther threatsAffected
  • =2.16.1-1
  • =2.17-1
  • =2.17.1-1
Fixed in–
Ubuntu 25.10bird3pkg:deb/ubuntu/bird3?arch=source&distro=questingOther threatsAffected
  • =3.1.0-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…