Skip to content

whatstk

Unbounded decompression in the whatstk ZIP loader exhausts memory and disk

CVE-2026-121691Published 10 Nov 2026, 17:29 UTC

Real-world risk

1.2/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.7

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from Secur0)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
whatstkNiche>= 0.7.0, < 0.9.00.9.0

What to do

Update to a fixed version: 0.9.0.

Why this score

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.2% chance of exploitation in 30 days (percentile 7), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together0.350
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.4 × prerequisites 0.35 × threat 0.851.190
  4. Rounded to one decimal between 0.1 and 101.2

How the score works

Exploitation and evidence timeline

  1. 10 Nov 2026 Published
  2. 3 Dec 2026 Risk 1.2 (cvss fallback)

Weakness

CWE-409

References

Get alerts for whatstk

Free email or text alerts when a vulnerability in whatstk reaches risk 8 or higher. Nothing else.