Description
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.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| torproject | Tor | >= 0.2.6.1-alpha, < 0.4.9.9 |
References
- https://gitlab.torproject.org/tpo/core/tor/-/raw/tor-0.4.9.9/ChangeLogPermissions Required, Release Notes, Vendor Advisory
Timeline
- Published
- Aug 20, 2026
- Last modified
- Oct 18, 2026
- NVD status
- Analyzed