Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ratex-parser
  4. ›
  5. CVE-2026-53531

CVE-2026-53531: ratex-parser has unbounded parser recursion that leads to stack overflow (process abort)

July 7, 2026

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.

References

  • github.com/advisories/GHSA-4w5h-hx6r-28q7
  • github.com/erweixin/RaTeX/security/advisories/GHSA-4w5h-hx6r-28q7
  • nvd.nist.gov/vuln/detail/CVE-2026-53531

Code Behaviors & Features

Detect and mitigate CVE-2026-53531 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.1.11

Fixed versions

  • 0.1.11

Solution

Upgrade to version 0.1.11 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-674: Uncontrolled Recursion

Source file

cargo/ratex-parser/CVE-2026-53531.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.