PT-2026-136363
CVE-2026-121577
·
Published
2026-11-03
·
Updated
2026-11-12
Description by
CVSS 4.0
6.7
MediumMetricsAV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions
whatstk versions 0.2.0 through 0.8.9
Description
An issue exists in the
generate regex() function within whatstk/whatsapp/parser.py where the header regular expression is constructed by replacing %x codes with named capture groups while leaving other characters unescaped. If a chat export contains a date separator that is a regular expression metacharacter, it alters the pattern instead of matching literally. For example, a + separator quantifies the preceding capture group, which can lead to catastrophic backtracking when processing a run of digits that cannot complete the header, causing the CPU to be consumed for an unbounded time. Additionally, separators such as (, ), and `` cause a re.PatternError, while *, |, and ? cause a TypeError, and ^ and $ cause a KeyError, none of which are handled by the library, leading to uncaught exceptions in the calling program.Recommendations
Update whatstk to version 0.9.0 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾