Technical impact
The fflate library’s unzipSync function allocates memory proportional to the decompressed payload size. Maliciously crafted compressed data can trigger uncontrolled memory allocation, leading to a JavaScript RangeError or heap exhaustion and resulting in denial of service. The vulnerability aligns with CWE‑400 Uncontrolled Resource Consumption and CWE‑789 Out‑of‑Bound Resource Allocation. While the maintainer disputes the issue as a vulnerability, the publicly available exploit shows that remote attackers can trigger the behavior by feeding malicious input.
Affected Systems
This flaw affects the 101arrowz fflate package up through version 0.8.3. Versions later than 0.8.3 have not been reported to contain the issue, but no confirmation of a fix is available in the provided data.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity. The EPSS score is <1%, reflecting a very low probability of exploitation in the wild, and the issue is not listed in CISA’s KEV catalog. Nevertheless, because the library can process untrusted data, a remote attacker could trigger the attack by supplying a crafted compressed file. Mitigation relies on limiting the decompressed size via the provided filter option or updating to a version that addresses the issue.