Use of uninitialized resource in sharpcompress - #VU166174

 

Use of uninitialized resource in sharpcompress - #VU166174

Published: November 13, 2026


Vulnerability identifier: #VU166174
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-908
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to potentially disclose sensitive process memory and cause malformed compressed data to be accepted.

The vulnerability exists due to missing back-reference distance validation and use of uncleared pooled memory in SharpCompress's Deflate decoder when decompressing invalid streams. A remote attacker can supply a stream containing literal A followed by length 3 / distance 4 to copy previously stored window bytes into decompressed output and potentially expose unrelated data.


Affected software

sharpcompress

Remediation

Install security update from vendor's website.

sharpcompress - update to 0.50.9

External References

Related Security Bulletins