Intel

AIKIDO-2026-455589

pest_meta is vulnerable to Denial of Service (DoS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 16, 2026
October 16, 2026

42

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

pest_meta validates pest grammars, including left-recursion detection, before they are compiled. That check misses a case: when the left side of a sequence can match without consuming input, the validator inspects only the right side. Grammars such as r = { (r | "") ~ "." }, r = { r? ~ "x" }, and r = { r{,1} ~ "x" } are therefore accepted, compile, and then overflow the native stack on the first call to parse, aborting the process with a fatal runtime error.

How do I fix this?

Upgrade the pest_meta library to the patch version.

Who does this affect?

You are affected if you use a version in the vulnerable range to compile or validate a crafted pest grammar and then call its generated parser's parse method; an untrusted grammar source can turn this into a process-aborting DoS.

Package

Versions

2.0.0 - 2.9.2

Fixed in 2.9.3

Background info

pest_meta is vulnerable to Denial of Service (DoS) in versions 2.0.0 - 2.9.2.

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