{"answers":{"affected":"2 open source packages ship an affected version, including ratex-parser.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53530 exists.","fix":"Upgrade ratex-parser to 0.1.11 or later.","what":"CVE-2026-53530 is a high-severity denial of service vulnerability in erweixin RaTeX, published on 21 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-53530 and fix it if it is affected.\n\nWhat it is: CVE-2026-53530 is a high-severity denial of service vulnerability in erweixin RaTeX, published on 21 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53530 exists.\n\nAffected packages and fixed versions:\n- ratex-parser (crates.io): affected all versions; fixed in 0.1.11\n- ratex-parser (crates.io): affected all versions; fixed in 0.1.11\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-53530/ (Markdown: https://insights.sbomify.com/CVE-2026-53530/index.md)","id":"CVE-2026-53530","markdown":"https://insights.sbomify.com/CVE-2026-53530/index.md","name":"CVE-2026-53530","record":{"aliases":["GHSA-4hgp-59h5-gvrj"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust math rendering library","requires_auth":"none","summary":"An attacker can crash the application by providing a specific multibyte UTF-8 delimiter in a LaTeX verb command, causing a panic that aborts the process.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-1285","name":"Improper Validation of Specified Index, Position, or Offset in Input"}],"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(\u0026str)` 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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ratex-parser panics on `\\verb` with a multibyte delimiter (UTF-8 byte-boundary slice)","id":"CVE-2026-53530","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"ratex-parser has unbounded parser recursion that leads to stack overflow (process abort)","id":"CVE-2026-53531"},"packages":[{"ecosystem":"crates.io","fixed":["0.1.11"],"introduced":["0"],"last_affected":[],"package":"ratex-parser","purl":null,"source":"GHSA-4hgp-59h5-gvrj"},{"ecosystem":"crates.io","fixed":["0.1.11"],"introduced":["0"],"last_affected":[],"package":"ratex-parser","purl":"pkg:cargo/ratex-parser","source":"GHSA-4hgp-59h5-gvrj"}],"prev":{"headline":"LeafWiki vulnerable to stored XSS via search-result title (highlight() returns raw title into dangerouslySetInnerHTML)","id":"CVE-2026-53529"},"products":["RaTeX"],"published":"2026-08-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-24","vendors":["erweixin"]},"summary":"An attacker can crash the application by providing a specific multibyte UTF-8 delimiter in a LaTeX verb command, causing a panic that aborts the process.","url":"https://insights.sbomify.com/CVE-2026-53530/"}