🔐 CVE Alert

CVE-2026-121691

UNKNOWN 0.0

Unbounded decompression in the whatstk ZIP loader exhausts memory and disk

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

Improper Handling of Highly Compressed Data (CWE-409) in the ZIP loader of whatstk from 0.7.0 before 0.9.0 allows a party that supplies a chat export to exhaust the memory and the disk of the process that parses it, because _str_from_file() (whatstk/whatsapp/parser.py) calls zip_ref.extractall() with no bound on the size of the members and no check of the compression ratio, then reads the extracted file in full with f.read(). The only guard on the archive counts the extracted files and raises when there is not exactly one, but it runs after extractall() has already written them, so it does not prevent the cost. _clean_text() then passes the whole text through unicodedata.normalize("NFKD", text), which holds a second copy, and the parse builds a list of regular expression matches and a DataFrame over it, so peak memory is a multiple of the decompressed text rather than of the archive. A ZIP is a documented input of WhatsAppChat.from_source() and df_from_whatsapp(), and is the form in which WhatsApp exports a chat on iOS, so the attacker supplies the whole file. This results in a small upload costing hundreds of megabytes of memory and of disk, and in the process being killed where that exceeds what is available.

CWE CWE-409
Vendor lucasrodes
Product whatstk
Published Nov 10, 2026
Stay Ahead of the Next One

Get instant alerts for lucasrodes whatstk

Be the first to know when new unknown vulnerabilities affecting lucasrodes whatstk are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

Affected Versions

lucasrodes / whatstk
0.7.0 < 0.9.0

References

NVD ↗ CVE.org ↗ EPSS Data ↗
github.com: https://github.com/lucasrodes/whatstk/pull/182 github.com: https://github.com/lucasrodes/whatstk/commit/01d66d8 github.com: https://github.com/lucasrodes/whatstk/releases/tag/v0.9.0 secur0.com: https://secur0.com/en/cna/cve-list/cve-2026-121691-whatstk-zip-decompression-bomb

Credits

Jorge Rey Cotallo (reddev) Xoán M. Otero Jorge Darío Rivas Secur0 CNA Lucas Rodés-Guirao