CVE-2026-77640
Last modified
CVE-2026-77640 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Torproject | Tor | < 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
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-77640?
How severe is CVE-2026-77640?
How do I fix CVE-2026-77640?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-77634CakePHP is a rapid development framework for PHP. Prior to v…8.2
- CVE-2026-77635CakePHP is a rapid development framework for PHP. Prior to v…9.2
- CVE-2026-77637Cloudreve is a self-hosted file management and sharing syste…3.8
- CVE-2026-77638Tor before 0.4.9.11 is prone to a race condition where in ju…9
- CVE-2026-77639Tor before 0.4.9.9 was prone to a compression bomb bypass wh…5.3
- CVE-2026-7764An out-of-bounds read vulnerability in the morse.ko HaLow Wi…6.8
- CVE-2026-77641tor before 0.4.9.9 was prone to a NULL write after free when…8.2
- CVE-2026-77642tor before 0.4.9.9 was prone to an out-of-bounds write when …9.3
- CVE-2026-77643A cross-site scripting vulnerability in queryparser/termgen…4.4
- CVE-2026-77644A critical bypass access control vulnerability has been repo…9.3
- CVE-2026-77645A critical remote code execution (RCE) vulnerability has bee…9.2
- CVE-2026-77646A Server-Side Request Forgery (SSRF) vulnerability has been …7.7
Are you affected by CVE-2026-77640?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
