CVE-2024-32152 Ankitects Anki LaTeX Blocklist Bypass vulnerability

Low 3.1 Published Updated

Attackers can create arbitrary files via malicious flashcards, potentially leading to code execution or privilege escalation in Anki.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-32152?

CVE-2024-32152 is a low-severity vulnerability in Ankitects Anki, published on 22 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A blocklist bypass vulnerability exists in the LaTeX functionality of Ankitects Anki 24.04. A specially crafted malicious flashcard can lead to an arbitrary file creation at a fixed path. An attacker can share a malicious flashcard to trigger this vulnerability.

Weakness: CWE-184

Which versions are affected by CVE-2024-32152?

3 open source packages ship an affected version, including anki. It affects 1 product.

PackageAffectedFixed in
anki PyPIAll versions24.6
anki PyPIAll versions24.6
anki PyPIAll versions24.6

Products include Ankitects Anki.

How do I fix CVE-2024-32152?

Upgrade anki to 24.6 or later.

Is CVE-2024-32152 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-32152 exists.

Sources

Also known as DEBIAN-CVE-2024-32152, GHSA-q47p-v5rw-v574, PYSEC-2026-1117, UBUNTU-CVE-2024-32152.

Is CVE-2024-32152 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free