CVE-2026-77640

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.
References
Link Resource
https://gitlab.torproject.org/tpo/core/tor/-/raw/tor-0.4.9.9/ChangeLog Permissions Required Release Notes Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:torproject:tor:*:*:*:*:*:*:*:*

History

18 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) tor anterior a la versión 0.4.9.9 era propenso a un bucle infinito al descomprimir un flujo zlib/gzip truncado con done=1. Un flujo truncado nunca alcanza Z_STREAM_END, lo que hacía que zlib devolviera Z_BUF_ERROR sin entrada restante, lo que buf_add_compress() confundió con un búfer de salida lleno y reintentó indefinidamente. Solucionado devolviendo TOR_COMPRESS_ERROR en ese caso para que el llamador pueda abortar limpiamente. Esto es TROVE-2026-021.

Information

Published : 2026-08-20 21:17

Updated : 2026-10-18 20:10


NVD link : CVE-2026-77640

Mitre link : CVE-2026-77640

CVE.ORG link : CVE-2026-77640


JSON object : View

Products Affected

torproject

  • tor
CWE
CWE-1284

Improper Validation of Specified Quantity in Input