CVE-2026-121691
Description
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.
Weakness
- CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-16 |
Timeline
- 2026-11-10Published by the CNA17:29 UTC
- 2026-11-10Published in NVD18:17 UTC · 47 minutes after the CNA
- 2026-11-16CISA SSVC decision recorded6 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| lucasrodes whatstk | from 0.7.0 before 0.9.0fixed in 0.9.0 | 0.9.0 |
References
- https://github.com/lucasrodes/whatstk/commit/01d66d8
- https://github.com/lucasrodes/whatstk/pull/182
- https://github.com/lucasrodes/whatstk/releases/tag/v0.9.0
- https://secur0.com/en/cna/cve-list/cve-2026-121691-whatstk-zip-decompression-bomb
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-121691'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-121691'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-121691'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-121691'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).