🛡️ CVE-2024-28244 on Debian — node-katex
Description
KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using \def or \newcommand that causes a near-infinite loop, despite setting maxExpand to avoid such loops. KaTeX supports an option named maxExpand which aims to prevent infinitely recursive macros from consuming all available memory and/or triggering a stack overflow error. Unfortunately, support for "Unicode (sub|super)script characters" allows an attacker to bypass this limit. Each sub/superscript group instantiated a separate Parser with its own limit on macro executions, without inheriting the current count of macro executions from its parent. This has been corrected in KaTeX v0.16.10.
Distribution advisory
This page covers CVE-2024-28244 as tracked by Debian, for the package node-katex. The fix is available in version 0.16.10+~cs6.1.0-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Weakness class
DEBIAN-CVE-2024-28244 is classified as CWE-606: Unchecked Input for Loop Condition. The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.
Affected software
DEBIAN-CVE-2024-28244 is recorded against 1 package.
- node-katex (fixed in 0.16.10+~cs6.1.0-1)
Timeline and source
Published on 25 March 2024 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2024-28244 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| node-katex | — | 0.16.10+~cs6.1.0-1 |
References
Similar Threats
- Unknown USN-7572-1
- Unknown DEBIAN-CVE-2025-23207
- Unknown UBUNTU-CVE-2025-23207
- Unknown DEBIAN-CVE-2024-28243
- Unknown DEBIAN-CVE-2024-28245
Vulnerability Monitoring
Track new vulnerabilities in node-katex
DEBIAN-CVE-2024-28244 is rated CVSS 6.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.