Intel

AIKIDO-2026-10799

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

48

Medium Risk

This Affects:

DOTNETSharpCompress
0.10.0 - 0.37.0
Fixed in 0.37.1
Are you affected? Scan for Free

TL;DR

The tar reader could keep requesting further entries even when the underlying stream could no longer supply a complete header for the next record, which allowed iteration to spin without making forward progress on corrupted or truncated input. The archive facade now treats a failed header read as a terminal archive error instead of continuing the enumeration loop. Regression tests cover advancing the reader after a broken tail so callers get a deterministic failure instead of a hang.

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.37.0.

How to fix this

Upgrade the SharpCompress library to the patch version.