SharpCompress is vulnerable to Out-of-Bounds Read
72
High Risk
Affected versions of this package are vulnerable to an out-of-bounds write due to insufficient validation of the nSelectors value parsed from untrusted input. An attacker can exploit this by crafting a malicious BZip2 file with excessively large nSelectors, causing the loop to write beyond the bounds of the selectorMtf array, potentially leading to memory corruption, crashes, or arbitrary code execution depending on runtime conditions.
You are affected if you are using a version that falls within the vulnerable range.
SharpCompress is vulnerable to Out-of-Bounds Read in versions 0.31.0 - 0.39.0.
Upgrade the SharpCompress library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant