CVE-2026-53531

Source
https://cve.org/CVERecord?id=CVE-2026-53531
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53531.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53531
Aliases
Published
2026-08-21T21:34:16Z
Modified
2026-09-11T03:30:31Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
ratex-parser has unbounded parser recursion that leads to stack overflow (process abort)
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-400",
        "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53531.json"
}
References

Affected packages

Git / github.com/erweixin/ratex

Affected ranges

Type
GIT
Repo
https://github.com/erweixin/ratex
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.1.11"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

ratex-font-v0.*
ratex-font-v0.0.3
ratex-layout-v0.*
ratex-layout-v0.0.3
ratex-lexer-v0.*
ratex-lexer-v0.0.3
ratex-parser-v0.*
ratex-parser-v0.0.3
ratex-types-v0.*
ratex-types-v0.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53531.json"