{"id":"CVE-2026-77640","aliases":["CVE-2026-77640"],"related":[],"kind":"vulnerability","state":"published","title":"tor before 0.4.9.9 was prone to an infinite loop when decompressing a truncated zlib/gzip stream with done=1.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"tor anterior a la versión 0.4.9.9 era propenso a un bucle infinito al descomprimir un flujo zlib/gzip truncado con done=1. Un flujo truncado nunca alcanza Z_STREAM_END, lo que hacía que zlib devolviera Z_BUF_ERROR sin entrada restante, lo que buf_add_compress() confundió con un búfer de salida lleno y reintentó indefinidamente. Solucionado devolviendo TOR_COMPRESS_ERROR en ese caso para que el llamador pueda abortar limpiamente. Esto es TROVE-2026-021.","source":"nvd"}],"published":"2026-08-20T21:02:36.470Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":3.7,"rating":"LOW"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-1284"],"affected":[{"ranges":[{"type":"custom","introduced":"0.2.6.1-alpha","fixed":"0.4.9.9","status":"affected"}],"vendor":"torproject","product":"Tor","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.4.9.9"}],"vendor":"torproject","product":"tor","cpe":"cpe:2.3:a:torproject:tor:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gitlab.torproject.org/tpo/core/tor/-/raw/tor-0.4.9.9/ChangeLog","tags":["permissions-required","release-notes","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-21T19:51:18.580Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-77640","url":"https://www.cve.org/CVERecord?id=CVE-2026-77640","licence":"CVE Terms of Use","modified":"2026-08-21T20:08:38.526Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-77640","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77640","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:34.712Z","epss":{"score":0.00223,"percentile":0.13845,"date":"2026-12-01T12:00:22.000Z"}}