cve.bz

CVE-2026-49943 nic bird: Stack-based Buffer Overflow

6.3 mediumEPSS 0.3%

Medium (6.3) in nic bird. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.3 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-49943 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-49943?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-49943?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-49943 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NIC BIRDthrough 2.19.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12bird, bird2no fix listedDEBIAN-CVE-2026-49943
Debian13, 14bird2, bird3no fix listedDEBIAN-CVE-2026-49943
Ubuntu16.04:LTS, 18.04:LTSbirdno fix listedUBUNTU-CVE-2026-49943
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTSbird, bird2no fix listedUBUNTU-CVE-2026-49943
Ubuntu25.10, 26.04:LTS, 26.10bird2, bird3no fix listedUBUNTU-CVE-2026-49943

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat ships the BIRD Internet Routing Daemon as part of the netshoot container in Ansible Services on Clouds. This vulnerability requires multiple preconditions for exploitation: RFC 8654 BGP Extended Messages must be enabled, BIRD must be configured with a filter that evaluates AS path mask expressions, and the attacker must be an established BGP peer. The upstream vendor has not prioritized a fix.

Red Hat's mitigation

Configure BIRD filters to reject BGP routes with unusually long AS_PATH attributes before evaluating AS path mask expressions. Additionally, disable RFC 8654 BGP Extended Messages if not required, or limit BGP peering to trusted peers only.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-49943.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

References

Check your stackJSON