Infinite loop in sharpcompress - #VU162736
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to deny service to applications that automatically decompress untrusted archives with SharpCompress.
The vulnerability exists due to improper end-of-stream handling in the LZMA2 decoder when truncated XZ streams or crafted 7z archives end at a chunk boundary before the next control byte. An unauthenticated remote attacker can submit these inputs concurrently to trigger infinite decoding loops that exhaust CPU cores and make the application unavailable.