Intel

AIKIDO-2026-347794

Jint is vulnerable to Denial of Service

Denial of Service Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 4 days ago

59

Medium Risk

This Affects:

DOTNETJint
3.0.0 - 4.12.0
Fixed in 4.13.0
Are you affected? Scan for Free

TL;DR

Jint's custom regular expression engine enforces the configured match timeout with a thread-pool timer created via CancellationTokenSource. When the .NET thread pool is saturated the timer callback is starved and the cancellation token is not signaled promptly, so a catastrophic-backtracking pattern keeps backtracking well past the configured RegexTimeout. An application that runs untrusted scripts and relies on this timeout to bound regex execution can be driven to sustained full-CPU usage, defeating the sandbox's denial-of-service protection. The fix enforces the timeout with an inline monotonic deadline checked at the interpreter's interrupt checkpoints so the abort fires regardless of thread-pool pressure.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and execute untrusted scripts whose regular expressions are handled by the custom regex engine.

Background info

Jint is vulnerable to Denial of Service in versions 3.0.0 - 4.12.0.

How to fix this

Upgrade the Jint library to the patch version.