Intel

AIKIDO-2026-10798

SharpCompress is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 11, 2026

43

Medium Risk

This Affects:

DOTNETSharpCompress
0.10.0 - 0.34.2
Fixed in 0.35.0
Are you affected? Scan for Free

TL;DR

Reading certain RAR archives with comment metadata could throw during header handling instead of completing or failing in a controlled way. Some tar streams produced with oldgnu layouts can carry uid and gid values that overflow assumptions in header parsing and break reads for otherwise valid archives. LZMA-framed streams could miss end-of-stream handling in edge cases, leaving decompression in an inconsistent state when the payload does not match expectations. The release tightens those parse paths and adds regression coverage; failures remain catchable managed exceptions unless the host process opts not to handle them.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

SharpCompress is vulnerable to Denial of Service (DoS) in versions 0.10.0 - 0.34.2.

How to fix this

Upgrade the SharpCompress library to the patch version.