BreachSpiderVerified, not vibes

CVE-2026-77640 in Torproject Tor

Medium 5.3

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.3
EPSS0.4%
EPSS percentile24th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Torproject Tor < 0.4.9.9

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-77640
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published2026-08-20
Last modified2026-10-18
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-1284: CWE-1284

Analysis AI-written, not human-reviewed

A low severity vulnerability (CVE-2026-77640) affects the target system. 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() misto...

Questions

What is CVE-2026-77640?

A low severity vulnerability (CVE-2026-77640) affects the target system. 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() misto...

What is the CVSS score for CVE-2026-77640?

CVE-2026-77640 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. EPSS: 0.4%.

Is CVE-2026-77640 actively exploited?

No confirmed active exploitation of CVE-2026-77640 as of 2026-10-24.

How do I remediate CVE-2026-77640?

Advisory: https://gitlab.torproject.org/tpo/core/tor/-/raw/tor-0.4.9.9/ChangeLog

What systems are affected by CVE-2026-77640?

CVE-2026-77640 affects Torproject Tor.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Torproject","product":"Tor","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-18.