Uncontrolled Memory Allocation in sharpcompress - #VU166170
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 memory allocation with excessive size values in the SharpCompress 7z reader when processing unbounded nested header counts, coder-properties sizes, and encoded-header uncompressed sizes before validating corresponding data. A remote attacker can trick a victim into opening or enumerating a tiny, CRC-valid 7z archive containing oversized values to trigger disproportionately large allocations and exhaust process memory.