Stack Overflow Vulnerability in RaTeX Math Rendering Engine by erweixin
CVE-2026-53531

6.9MEDIUM

Key Information:

Vendor

Erweixin

Status
Vendor
CVE Published:
21 August 2026

What is CVE-2026-53531?

The RaTeX math rendering engine, which is compatible with KaTeX, contains a critical stack overflow vulnerability in its recursive-descent parser. This issue allows for a denial of service when processing LaTeX strings that are nested excessively. Specifically, prior to version 0.1.11, the parser lacks a maximum depth limit, leading to a stack overflow and the application aborting when handling inputs of around 10 KB. This flaw poses a risk when parsing untrusted input, as it can cause the entire RaTeX process to terminate unexpectedly. Users are advised to upgrade to version 0.1.11 or later to mitigate this risk.

Affected Version(s)

RaTeX < 0.1.11

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.