Uncontrolled Memory Allocation in sharpcompress - #VU166169
Published: November 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through memory exhaustion.
The vulnerability exists due to excessive memory allocation in SharpCompress's RAR5 UnpackV2017.Init when processing an attacker-controlled dictionary/window size without an effective bound before decoding entry data. A remote attacker can induce a victim to extract or read an entry from a crafted 72-byte RAR5 archive with zero compressed bytes to trigger a 1 GiB window allocation and exhaust process memory.