# CVE-2026-121691: Unbounded decompression in the whatstk ZIP loader exhausts memory and disk

- Severity: Medium 6.7 (CVSS:4.0, scored by Secur0) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-10T17:29:34.562Z
- Modified: 2026-11-16T18:17:28.720Z
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Secur0

## 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.

(As written by CVE List.)

## Affected

- whatstk: from 0.7.0 before 0.9.0

## References

- <https://github.com/lucasrodes/whatstk/pull/182> (patch)
- <https://github.com/lucasrodes/whatstk/commit/01d66d8> (patch)
- <https://github.com/lucasrodes/whatstk/releases/tag/v0.9.0> (release-notes)
- <https://secur0.com/en/cna/cve-list/cve-2026-121691-whatstk-zip-decompression-bomb> (technical-description, third-party-advisory)

## Sources

- CVE List: [CVE-2026-121691](https://www.cve.org/CVERecord?id=CVE-2026-121691), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-121691](https://nvd.nist.gov/vuln/detail/CVE-2026-121691), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-121691 · Whole record: https://cve.day/CVE-2026-121691.json · Rebuilt by cve.day 2026-11-25T22:59:49.812Z
