Every CVE Search/ Get API key

CVE-2018-1002202

Improper Limitation of a Pathname to a Restricted Directory in Zip4j

6.5 MediumPublic exploitFix available

zip4j before 1.3.3 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'.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

12.6%Up 11.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

zip4j before 1.3.3 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'.

Record
CVE-2018-1002202
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:N/I:P/A:P
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

zip4j before 1.3.3 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'.

Record
CVE-2018-1002202
Weakness
CWE-22
Updated
2026-11-02
EUVDEUVD-2022-2044 No score

zip4j before 1.3.3 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'.

Record
EUVD-2022-2044
Updated
2026-11-03
GitHub AdvisoriesGHSA-2rpm-4x8c-pvqg 6.5

Improper Limitation of a Pathname to a Restricted Directory in Zip4j

zip4j before 1.3.3 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'.

Record
GHSA-2rpm-4x8c-pvqg
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02
OSVGHSA-2rpm-4x8c-pvqg 6.5

Improper Limitation of a Pathname to a Restricted Directory in Zip4j

zip4j before 1.3.3 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'.

Record
GHSA-2rpm-4x8c-pvqg
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
net.lingala.zip4j:zip4j
Maven
before 1.3.3
1.3.3
net.lingala.zip4j:zip4j
Maven
before 1.3.3, plus listed versions
1.2.31.2.41.2.51.2.61.2.7
Show 4 moreShow less
1.2.81.2.91.3.11.3.2
1.3.3

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubiris-sast/zip4j2025-06-30
PoC in GitHubshoucheng3/srikanth-lingala__zip4j_CVE-2018-1002202_1-3-22025-08-18

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-1002202 is a medium vulnerability (CVSS 6.5) in Zip4j, published July 25, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 12.6%, the 96th percentile. Fixed in net.lingala.zip4j:zip4j 1.3.3.

References

MoveEnter Open