CVE-2024-32152
Python vulnerability analysis and mitigation

Overview

A blocklist bypass vulnerability exists in the LaTeX functionality of Ankitects Anki 24.04, tracked as CVE-2024-32152. The vulnerability was discovered by Autumn Bee Skerritt of Cisco Duo Security and Jacob B, and was disclosed to the vendor on May 27, 2024. A specially crafted malicious flashcard can lead to an arbitrary file creation at a fixed path, which can be triggered when an attacker shares a malicious flashcard with a target user (Talos Report).

Technical details

The vulnerability exists in Anki's LaTeX functionality, which is used to display images and TeX models in flashcards. While Anki implements a blocklist to prevent dangerous TeX commands that could read or write files, this protection can be bypassed using hex characters. The vulnerability requires MiKTeX to be installed as suggested by Anki's documentation. The CVSS v3.1 score is 3.1 (Low) with a vector of CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N, indicating that it requires user interaction and has low impact (Talos Report).

Impact

When exploited, the vulnerability allows an attacker to create a file with arbitrary content in the application's temp directory (specifically /tmp/anki/ in Linux and c:\Users\AppData\Local\Temp\anki_temp\ in Windows). The vulnerability takes advantage of Anki's normal behavior of allowing users to share decks publicly, with no warnings or checks in place to prevent using cards from other users (Talos Report).

Exploitability

The vulnerability can be exploited by sharing a specially crafted malicious flashcard with a target user. The attack leverages hex character substitution to bypass Anki's command blocklist. For example, replacing 't' with its hex code '^^74' allows dangerous commands like \openout and \write to be executed despite being on the blocklist (Talos Report).

Mitigation and workarounds

The vendor released a patch for this vulnerability on June 24, 2024. Users should update their Anki installation to a version newer than 24.04 to protect against this vulnerability (Talos Report).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63003MEDIUM6.5
  • Python logoPython
  • django-cms
NoYesAug 20, 2026
CVE-2026-54624MEDIUM6.5
  • Python logoPython
  • django-cms
NoYesAug 20, 2026
CVE-2026-54622MEDIUM6.5
  • Python logoPython
  • django-cms
NoYesAug 20, 2026
CVE-2026-75526MEDIUM4.4
  • Python logoPython
  • django-cms
NoYesAug 20, 2026
CVE-2026-61663MEDIUM4.3
  • Python logoPython
  • django-cms
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management