CVE-2026-53531CWE-400CWE-674denial-of-service

CVE-2026-53531

published August 22, 2026

CVSS
6.9
EPSS
0%
Percentile
35.8
In the wild
Unconfirmed
What it is

RaTeX is a KaTeX-compatible math rendering engine written in Rust. Prior to version 0.1.11, RaTeX’s recursive-descent parser recurses one (or more) native stack frame per nesting level at `{`, `\left`, `\sqrt{`, `^{`, etc, with no maximum depth limit. A short, ~10 KB input of nested groups overflows the 8 MB main-thread stack and aborts the process. With `panic = "abort"` (`Cargo.toml:48`), and because a Rust stack overflow is always a fatal `SIGABRT` regardless of panic strategy this is an unrecoverable, whole-process denial of service reachable from a single untrusted LaTeX string. Version 0.1.11 fixes the issue.

The record
Technical detail
CVSS
6.9 · NONE
CVSS v4.0
6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS
0.00426 · 35.8th percentile
Weaknesses
CWE-400 · Uncontrolled Resource Consumption; CWE-674 · Uncontrolled Recursion
Published
2026-08-22T02:16Z
References (2)
EPSS history
Timeline
  • 21 AUG 21:34Z
    ratex-parser has unbounded parser recursion that leads to stack overflow (process abort)
    cvelistv5