Improper Validation of Specified Quantity in Input Affecting tor package, versions <0.4.9.9-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.22% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-TOR-19166216
  • published22 Aug 2026
  • disclosed20 Aug 2026

Introduced: 20 Aug 2026

NewCVE-2026-77640  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

Upgrade Echo:latest tor to version 0.4.9.9-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tor package and not the tor package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.