Intel

AIKIDO-2026-356467

cxxheaderparser is vulnerable to Denial of Service (DoS)

GHSA-433q-rpc2-fx2wPublished Jul 29, 2026
July 29, 2026

37

CVE Score

Low

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

cxxheaderparser parses C++ header files into Python data structures. When a single physical line contains many comma-separated declarators, fields, variables, or enumerators, the parser processes that line with quadratic cost relative to the number of items. Supplying a header of only tens of kilobytes with such dense single-line declarations forces prolonged CPU consumption and stalls parsing, causing denial of service. The fix reworks the parsing so declarations packed on one line no longer incur quadratic processing time.

How do I fix this?

Upgrade the cxxheaderparser library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use it to parse untrusted or externally supplied C++ headers.

Versions

0.0.1 - 1.9.1

Fixed in 1.9.2

Background info

cxxheaderparser is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 1.9.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea