All vulnerabilities

PyPI

CVE-2026-121691

Unbounded decompression in the whatstk ZIP loader exhausts memory and disk

Severity
Medium 6.7
Published
10 Nov 2026
Last changed
16 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.9.0
Exploit chance
0.1% in the next 30 daysHigher than 3% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Decompression bomb (CWE-409)
Attack
Needs local access · No login needed · Needs someone to click or open something
Attacker can
Take it down
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
whatstkPyPI · osv:PyPI:whatstk
  • From 0.7.0 before 0.9.0

About whatstk

Weekly downloads (PyPI)
137PyPI Stats, 24 Nov 2026

Vulnerabilities in whatstk

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for whatstk

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-121691