Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-49943: CWE-121 Stack-based Buffer Overflow in NIC BIRD

0
Medium
VulnerabilityCVE-2026-49943cvecve-2026-49943cwe-121
Published: Tue Jun 02 2026 (06/02/2026, 16:16:52 UTC)
Source: CVE Database V5
Vendor/Project: NIC
Product: BIRD

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.

CVSS v3.1

Score 6.3medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/02/2026, 17:34:39 UTC

Technical Analysis

The vulnerability exists in the as_path_match() function of BIRD's BGP implementation, which uses a fixed-size stack array of 2049 entries to match AS_PATH masks. The parse_path() function expands AS_PATH segments from received BGP UPDATE messages without enforcing a limit on the number of ASNs. When RFC 8654 BGP Extended Messages are enabled and a filter evaluates an AS path mask expression, a malicious or misconfigured BGP peer can send an AS_PATH attribute exceeding 2048 ASNs, causing parse_path() and as_path_match() to write beyond the fixed stack buffer. This leads to a stack-based buffer overflow and daemon crash, resulting in denial of service. The vendor's position is that network operators should already filter out such unusually long routes, and no official fix or patch is currently provided.

Potential Impact

Successful exploitation causes a denial of service by crashing the BIRD routing daemon. There is no indication of confidentiality or integrity impact. The CVSS score is 6.3 (medium severity) reflecting network attack vector, low privileges required, no user interaction, and impact limited to availability. No known exploits in the wild have been reported.

Mitigation Recommendations

No official patch or fix is currently available or prioritized by the vendor. The vendor advises that network operators should reject routes with unusually long AS_PATH attributes to prevent exploitation. Operators should implement route filtering policies to block excessively long AS_PATHs as a mitigation measure. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-06-02T16:16:51.394Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1f1079e29bf47b50e963b9

Added to database: 6/2/2026, 5:18:49 PM

Last enriched: 6/2/2026, 5:34:39 PM

Last updated: 6/3/2026, 4:41:46 AM

Views: 22

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses