# CVE-2018-1002208: Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 8.66%, higher than 96% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2018-07-25T17:00:00.000Z
- Modified: 2026-07-08T05:56:34.770Z
- Also known as: GHSA-cqj4-m2pc-v9m5, SNYK-DOTNET-SHARPZIPLIB-60247
- Weaknesses: CWE-22
- Assigned by: snyk

## Description

SharpZipLib before 1.0 RC1 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

(As written by CVE List.)

## Affected

- SharpZipLib SharpZipLib: < 1.0 RC1
- SharpZipLib (NuGet): before 1.0.0-rc1
- sharpziplib_project sharpziplib: up to 0.86.0.518

## Every score

- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247> (exploit, patch, technical-description, web)
- <https://snyk.io/research/zip-slip-vulnerability> (third-party-advisory, web)
- <https://github.com/icsharpcode/SharpZipLib/issues/232> (issue-tracking, patch, third-party-advisory, web)
- <https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0> (issue-tracking, patch, third-party-advisory, web)
- <https://github.com/snyk/zip-slip-vulnerability> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1002208> (advisory)

## Sources

- CVE List: [CVE-2018-1002208](https://www.cve.org/CVERecord?id=CVE-2018-1002208), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-cqj4-m2pc-v9m5](https://github.com/advisories/GHSA-cqj4-m2pc-v9m5), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2018-1002208](https://nvd.nist.gov/vuln/detail/CVE-2018-1002208), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-1002208 · Whole record: https://cve.day/CVE-2018-1002208.json · Rebuilt by cve.day 2026-11-25T22:57:39.087Z
