CVE-2026-45820
Awaiting Analysis Awaiting Analysis - Queue

Denial of Service in fflate via ZIP64 Handling

Vulnerability report for CVE-2026-45820, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-22

Last updated on: 2026-07-22

Assigner: seal

Description

fflate through 0.8.2 is vulnerable to denial of service via an infinite loop in unzipSync(). A crafted ZIP archive with a central directory entry declaring compressed_size=0xFFFFFFFF (ZIP64 sentinel) but missing the required ZIP64 extra field tag 0x0001 causes z64e() to loop indefinitely due to out-of-bounds reads returning undefined, which coerces to 0, keeping the loop condition permanently true.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-22
Last Modified
2026-07-22
Generated
2026-08-11
AI Q&A
2026-07-22
EPSS Evaluated
2026-08-10
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
101arrowz fflate From 0.8.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.
CWE-835 The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

fflate through 0.8.2 has a denial of service vulnerability in unzipSync() due to an infinite loop. A crafted ZIP file with a central directory entry declaring compressed_size=0xFFFFFFFF but missing the required ZIP64 extra field tag causes z64e() to loop indefinitely. This happens because out-of-bounds reads return undefined, which coerces to 0, keeping the loop condition true.

Detection Guidance

To detect this vulnerability, inspect any ZIP archives processed by fflate for central directory entries with compressed_size=0xFFFFFFFF but missing the ZIP64 extra field tag 0x0001. Use tools like 'zipdetails' or '7z l' to analyze ZIP files for malformed structures.

Impact Analysis

This vulnerability can cause system crashes or hangups by consuming excessive CPU resources when processing malicious ZIP files. It may lead to denial of service if exploited in applications handling untrusted input, potentially disrupting services or applications relying on fflate for decompression.

Compliance Impact

This vulnerability primarily causes denial of service via infinite loops during decompression of crafted ZIP archives. It does not directly impact data confidentiality or integrity but may lead to system unavailability. Compliance impact depends on whether the affected system processes untrusted data in regulated environments. GDPR may require breach notification if service disruption affects data subjects, while HIPAA could view prolonged downtime as a potential security incident affecting access to protected health information.

Mitigation Strategies

Update fflate to the latest version beyond 0.8.2. If updating is not possible, avoid processing untrusted ZIP files with fflate or implement strict input validation to reject ZIP64 sentinel values without the required extra field.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-45820. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart