PT-2026-56304 · Erweixin+2 · Ratex+1
CVE-2026-53531
·
Published
2026-07-07
·
Updated
2026-08-21
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
RaTeX versions prior to 0.1.11
Description
RaTeX is a KaTeX-compatible math rendering engine written in Rust. The recursive-descent parser lacks a maximum depth limit when processing nesting levels such as
{, left, sqrt{, and ^{. This allows a small input of nested groups to overflow the main-thread stack, resulting in a fatal SIGABRT and an unrecoverable, whole-process denial of service. The issue occurs because mutual recursion between parse expression(), parse atom(), and parse group() does not have a depth guard, and the handle left function adds further recursive edges.Recommendations
Update RaTeX to version 0.1.11.
Exploit
Fix
DoS
Resource Exhaustion
Uncontrolled Recursion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Ratex
Ratex-Parser