CVE-2026-53530

Source
https://cve.org/CVERecord?id=CVE-2026-53530
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53530.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53530
Aliases
Published
2026-08-21T21:31:12Z
Modified
2026-09-11T03:30:50Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
ratex-parser panics on `\verb` with a multibyte delimiter (UTF-8 byte-boundary slice)
Details

RaTeX is a KaTeX-compatible math rendering engine written in Rust. Prior to version 0.1.11, the public parser entrypoint ratex_parser::parse(&str) panics on the 9-byte input \verbéxé (i.e. \verb followed by the non-ASCII delimiter é). When handling a \verb command, the parser slices the verbatim argument with byte indices (arg[1..arg.len() - 1]); if the delimiter character is multibyte UTF-8, index 1 lands inside that character and Rust panics with “byte index 1 is not a char boundary”. Because RaTeX’s release profile sets panic = "abort" (Cargo.toml:48), the panic aborts the entire process — not just the current request/thread — making this a hard denial of service for any service that renders untrusted LaTeX. Version 0.1.11 fixes the issue.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-1285",
        "CWE-248",
        "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53530.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-53530.json"