Description
SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Prior to version 1.3.3, a TAR file entry `../evil.txt` may be extracted in the parent directory of `destFolder`. This leads to arbitrary file write that may lead to code execution. The vulnerability was patched in version 1.3.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| icsharpcode | sharpziplib | 1.3.3 – < 1.3.3, 0.86.0 – < 0.86.0* | 1.3.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mono | No fix yet | — |
| Ubuntu 26.04 LTS | mono | No fix yet | — |
| Ubuntu 25.10 | mono | No fix yet | — |
| Ubuntu 24.04 LTS | mono | No fix yet | — |
| Ubuntu 22.04 LTS | mono | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| NuGet | SharpZipLib | < 1.3.3 | 1.3.3 | GHSA-m22m-h4rf-pwq3 |