---
title: "CVE-2024-28243\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2024-28243?format=md
keywords: index, follow
---

# CVE-2024-28243

Publication date 25 March 2024

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2024-28243?format=md#impact-score)

Toggle side navigation

## 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 `\edef` that causes a near-infinite loop, despite
setting `maxExpand` to avoid such loops. This can be used as an
availability attack, where e.g. a client rendering another user's KaTeX
input will be unable to use the site due to memory overflow, tying up the
main thread, or stack overflow. Upgrade to KaTeX v0.16.10 to remove this
vulnerability.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| node-katex | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Fixed 0.13.11+~cs6.0.0-2ubuntu0.1~esm1  Ubuntu Pro |
| 20.04 LTS focal | Not affected |
| 18.04 LTS bionic | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-28243)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-28243)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2024-28243)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2024-28243)

### Related Ubuntu Security Notices (USN)

+ [USN-7572-1](https://usn.ubuntu.com/USN-7572-1)
+ KaTeX vulnerabilities
+ 17 June 2025

### Other references

* <https://github.com/KaTeX/KaTeX/security/advisories/GHSA-64fm-8hw2-v72w>
* <https://github.com/KaTeX/KaTeX/commit/e88b4c357f978b1bca8edfe3297f0aa309bcbe34 (v0.16.10)>
* <https://github.com/KaTeX/KaTeX/commit/e88b4c357f978b1bca8edfe3297f0aa309bcbe34>
* <https://www.cve.org/CVERecord?id=CVE-2024-28243>
