Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
erweixin RaTeX
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

RaTeX 是一个基于 Rust 编写的、与 KaTeX 兼容的数学公式渲染引擎。在 0.1.11 版本之前,其公共解析入口函数 在接收到 9 字节输入 (即 后跟非 ASCII 字符 作为定界符)时会发生恐慌(panic)。在处理 命令时,解析器通过字节索引 截取内联文本(verbatim)参数;如果定界符是多字节的 UTF-8 字符,则索引位置 1 会落入该多字节字符的中间,从而导致 Rust 抛出异常:“byte index 1 is not a char boundary”(字节索引 1 不是字符边界)。由

CVSS 8.7 · High EPSS 0.25% · P17

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 1

VendorProduct Version RangeStatus
erweixin RaTeX < 0.1.11 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53530

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ratex-parser panics on `\verb` with a multibyte delimiter (UTF-8 byte-boundary slice)
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
未捕获的异常
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
erweixin RaTeX < 0.1.11 -

II. Public POCs for CVE-2026-53530

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-53530

登录查看更多情报信息。

Vendor Advisories for CVE-2026-53530 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-53530

No comments yet


Leave a comment