CVE-2026-77640

published 20 Aug 2026 · updated 21 Aug 2026

tor before 0.4.9.9 was prone to an infinite loop when decompressing a truncated zlib/gzip stream with done=1

3.7LowCVSS 3.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.4.9.9.

tor before 0.4.9.9 was prone to an infinite loop when decompressing a truncated zlib/gzip stream with done=1. A truncated stream never reaches Z_STREAM_END, causing zlib to return Z_BUF_ERROR with no input remaining, which buf_add_compress() mistook for a full output buffer and retried forever. Fixed by returning TOR_COMPRESS_ERROR in that case so the caller can abort cleanly. This is TROVE-2026-021.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
torproject>=0.2.6.1-alpha <0.4.9.90.4.9.9

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-77640 severity on Zeptric[![CVE-2026-77640](https://zeptric.io/badge/cve/CVE-2026-77640.svg)](https://zeptric.io/cve/CVE-2026-77640)