Vulnerability Report

CVE-2026-49943

Title: Stack-based Buffer Overflow in BGP AS_PATH

Denial of Service

Proof Of Concept

PoC Available for CVE-2026-49943

CWE Category CWE-121
Published Date Jun 02, 2026
Modified Date Jun 02, 2026
Exploit Status Available
Score 6.3 CVSS v3.1
Exploit Probability (EPSS)
0.30%

Vulnerability Summary

CVE-2026-49943: 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.

Impacted Vendors

Analysis in Progress...

Reference Links

CVSS v3.1
Source Entity [email protected]
Severity MEDIUM
6.3
Attack Vector
NETWORK
Complexity
HIGH
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
CHANGED
RAW VECTOR CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2026-49943 Exploits & PoCs (Proof Of Concept)

GitHub https://github.com/9Bakabaka/CVE-2026-49943-PoC
View Code
MODIFIED

Vulnerability data updated via NVD.

Attack Vector Matrix

Access Vector NETWORK
Complexity HIGH
Privileges N/A
Interaction NONE
CVSS Vector String CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H

Affected Stack

No specific products linked.