Katalog CVE

CVE-2026-121691

ŚrednieCVSS 6.7
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.18%

Percentyl 7 - wyżej niż 7% wszystkich znanych CVE

Streszczenie

W whatstk od wersji 0.7.0 przed 0.9.0 ładowanie plików ZIP nie ogranicza rozmiaru rozpakowywanych danych ani współczynnika kompresji. Dostawca eksportu czatu może wyczerpać pamięć i dysk procesu parsującego, powodując jego zabicie.

Ocena ryzyka

Podatność może doprowadzić do wyczerpania zasobów i odmowy usługi w aplikacjach przetwarzających eksporty czatów WhatsApp. Mały plik może zużyć setki megabajtów pamięci i dysku.

Rekomendacja

Zaktualizuj whatstk do wersji 0.9.0 lub nowszej. Ogranicz rozmiar i współczynnik kompresji przetwarzanych archiwów ZIP.

Inne podatności w whatstk

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS