🔐 CVE Alert

CVE-2026-53531

UNKNOWN 0.0

ratex-parser has unbounded parser recursion that leads to stack overflow (process abort)

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-400 CWE-674
Vendor erweixin
Product ratex
Published Aug 21, 2026
Stay Ahead of the Next One

Get instant alerts for erweixin ratex

Be the first to know when new unknown vulnerabilities affecting erweixin ratex are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

Affected Versions

erweixin / RaTeX
< 0.1.11

References

NVD ↗ CVE.org ↗ EPSS Data ↗
github.com: https://github.com/erweixin/RaTeX/security/advisories/GHSA-4w5h-hx6r-28q7