CVE-2026-49943

Source
https://cve.org/CVERecord?id=CVE-2026-49943
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49943.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-49943
Downstream
Published
2026-06-02T16:16:52.033Z
Modified
2026-07-08T08:13:41.671038792Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

CZ.NIC BIRD Internet Routing Daemon through 2.19.0 contains a stack-based buffer overflow in the BGP ASPATH mask matching implementation in nest/a-path.c. The aspathmatch() function uses a fixed-size stack array of 2048 + 1 pmpos entries, while parsepath() expands ASPATH 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 "bgppath ~ [= ... =]", an established BGP peer can send a long ASPATH containing more than 2048 expanded ASNs. This causes parsepath()/aspath_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.

Database specific
{
    "cna_assigner": "mitre",
    "cwe_ids": [
        "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49943.json"
}
References

Affected packages

Git / gitlab.nic.cz/labs/bird

Affected ranges

Type
GIT
Repo
https://gitlab.nic.cz/labs/bird
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
b82055f08f34ce99f17a9dac938e2359192727ab
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.19.0"
        },
        {
            "fixed": "2.19.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ]
}

Affected versions

v1.*
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.1
v1.3.10
v1.3.11
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.8
v1.3.9
v1.4.0
v1.4.1
v1.4.2
v1.4.4
v1.4.5
v1.5.0
v2.*
v2.0.0
v2.0.0-pre0
v2.0.0-pre1
v2.0.1
v2.0.11
v2.0.12
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v2.0.6
v2.0.7
v2.0.8
v2.0.9
v2.13
v2.14
v2.15
v2.15.1
v2.16
v2.17
v2.17.1
v2.18

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49943.json"