CVE-2026-77640

NameCVE-2026-77640
Descriptiontor 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6372-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tor (PTS)bullseye (security), bullseye0.4.5.16-1vulnerable
bookworm, bookworm (security)0.4.9.11-0+deb12u1fixed
trixie (security), trixie0.4.9.11-0+deb13u1fixed
forky, sid0.4.9.11-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
torsourcebullseye(unfixed)end-of-life
torsourcetrixie0.4.9.11-0+deb13u1DSA-6372-1
torsource(unstable)0.4.9.9-1

Notes

[bullseye] - tor <end-of-life> (see DSA 5562)
https://gitlab.torproject.org/tpo/core/tor/-/work_items/41274

Search for package or bug name: Reporting problems