7-Zip P7Zip vulnerabilities
20 known vulnerabilities affecting 7-zip/p7zip.
Total CVEs
20
CISA KEV
1
actively exploited
Public exploits
1
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH13MEDIUM3LOW3
Vulnerabilities
Page 1 of 1
CVE-2025-11002HIGHCVSS 7.8≥ 0, < 16.02+transitional.12026-01-23
CVE-2025-11002 [HIGH] CVE-2025-11002: 7-Zip ZIP File Parsing Directory Traversal Remote Code Execution Vulnerability
7-Zip ZIP File Parsing Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. Interaction with this product is required to exploit this vulnerability but attack vectors may vary depending on the implementation. The specific flaw exists within the handling of symbolic links in
osv
CVE-2025-11001HIGHCVSS 7.8PoC≥ 0, < 16.02+transitional.12025-11-19
CVE-2025-11001 [HIGH] CVE-2025-11001: 7-Zip ZIP File Parsing Directory Traversal Remote Code Execution Vulnerability
7-Zip ZIP File Parsing Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. Interaction with this product is required to exploit this vulnerability but attack vectors may vary depending on the implementation. The specific flaw exists within the handling of symbolic links in
osv
CVE-2025-55188LOWCVSS 3.6≥ 0, < 16.02+transitional.12025-08-08
CVE-2025-55188 [LOW] CVE-2025-55188: 7-Zip before 25
7-Zip before 25.01 does not always properly handle symbolic links during extraction.
osv
CVE-2025-53817MEDIUMCVSS 5.5≥ 0, < 16.02+transitional.12025-07-17
CVE-2025-53817 [MEDIUM] CVE-2025-53817: 7-Zip is a file archiver with a high compression ratio
7-Zip is a file archiver with a high compression ratio. 7-Zip supports extracting from Compound Documents. Prior to version 25.0.0, a null pointer dereference in the Compound handler may lead to denial of service. Version 25.0.0 contains a fix cor the issue.
osv
CVE-2022-47111LOWCVSS 3.3≥ 0, < 16.02+transitional.12025-04-19
CVE-2022-47111 [LOW] CVE-2022-47111: 7-Zip 22
7-Zip 22.01 does not report an error for certain invalid xz files, involving block flags and reserved bits. Some later versions are unaffected.
osv
CVE-2022-47112LOWCVSS 3.3≥ 0, < 16.02+transitional.12025-04-19
CVE-2022-47112 [LOW] CVE-2022-47112: 7-Zip 22
7-Zip 22.01 does not report an error for certain invalid xz files, involving stream flags and reserved bits. Some later versions are unaffected.
osv
CVE-2025-0411HIGHCVSS 7.0KEV≥ 0, < 16.02+transitional.12025-01-25
CVE-2025-0411 [HIGH] CVE-2025-0411: 7-Zip Mark-of-the-Web Bypass Vulnerability
7-Zip Mark-of-the-Web Bypass Vulnerability. This vulnerability allows remote attackers to bypass the Mark-of-the-Web protection mechanism on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of archived files. When extracting files from a crafted archive that b
osv
CVE-2024-11612MEDIUMCVSS 6.5≥ 0, < 16.02+transitional.12024-11-22
CVE-2024-11612 [MEDIUM] CVE-2024-11612: 7-Zip CopyCoder Infinite Loop Denial-of-Service Vulnerability
7-Zip CopyCoder Infinite Loop Denial-of-Service Vulnerability. This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of 7-Zip. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation. The specific flaw exists within the processing of streams. The issue results from a
osv
CVE-2023-52168HIGHCVSS 8.4≥ 0, < 16.02+transitional.12024-07-03
CVE-2023-52168 [HIGH] CVE-2023-52168: The NtfsHandler
The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains a heap-based buffer overflow that allows an attacker to overwrite two bytes at multiple offsets beyond the allocated buffer size: buffer+512*i-2, for i=9, i=10, i=11, etc.
osv
CVE-2023-52169HIGHCVSS 8.2≥ 0, < 16.02+transitional.12024-07-03
CVE-2023-52169 [HIGH] CVE-2023-52169: The NtfsHandler
The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains an out-of-bounds read that allows an attacker to read beyond the intended buffer. The bytes read beyond the intended buffer are presented as a part of a filename listed in the file system image. This has security relevance in some known web-service use cases where untrusted users can upload files and have them extracted by a server-side 7-Zip process.
osv
CVE-2023-40481HIGHCVSS 7.8≥ 0, < 16.02+transitional.12024-05-03
CVE-2023-40481 [HIGH] CVE-2023-40481: 7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of SQFS file
osv
CVE-2023-31102HIGHCVSS 7.8≥ 0, < 16.02+transitional.12023-11-03
CVE-2023-31102 [HIGH] CVE-2023-31102: Ppmd7
Ppmd7.c in 7-Zip before 23.00 allows an integer underflow and invalid read operation via a crafted 7Z archive.
osv
CVE-2022-47069HIGHCVSS 7.8v16.022023-08-22
CVE-2022-47069 [HIGH] CWE-787 CVE-2022-47069: p7zip 16.02 was discovered to contain a heap-buffer-overflow vulnerability via the function NArchive
p7zip 16.02 was discovered to contain a heap-buffer-overflow vulnerability via the function NArchive::NZip::CInArchive::FindCd(bool) at CPP/7zip/Archive/Zip/ZipIn.cpp. NOTE: the Supplier has found that this is not a buffer overflow; at most an out-of-bounds read can occur.
nvdosv
CVE-2018-5996HIGHCVSS 7.8fixed in 18.02018-01-31
CVE-2018-5996 [HIGH] CWE-119 CVE-2018-5996: Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00
Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead to multiple memory corruptions within the PPMd code, allows remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.
nvd
CVE-2017-17969HIGHCVSS 7.8fixed in 18.02018-01-30
CVE-2017-17969 [HIGH] CWE-787 CVE-2017-17969: Heap-based buffer overflow in the NCompress::NShrink::CDecoder::CodeReal method in 7-Zip before 18.0
Heap-based buffer overflow in the NCompress::NShrink::CDecoder::CodeReal method in 7-Zip before 18.00 and p7zip allows remote attackers to cause a denial of service (out-of-bounds write) or potentially execute arbitrary code via a crafted ZIP archive.
nvdosv
CVE-2016-2334HIGHCVSS 7.8≥ 0, < 15.14.1+dfsg-22016-12-13
CVE-2016-2334 [HIGH] CVE-2016-2334: Heap-based buffer overflow in the NArchive::NHfs::CHandler::ExtractZlibFile method in 7zip before 16
Heap-based buffer overflow in the NArchive::NHfs::CHandler::ExtractZlibFile method in 7zip before 16.00 and p7zip allows remote attackers to execute arbitrary code via a crafted HFS+ image.
osv
CVE-2016-9296HIGHCVSS 7.5v16.022016-11-12
CVE-2016-9296 [HIGH] CWE-476 CVE-2016-9296: A null pointer dereference bug affects the 16.02 and many old versions of p7zip. A lack of null poin
A null pointer dereference bug affects the 16.02 and many old versions of p7zip. A lack of null pointer check for the variable folders.PackPositions in function CInArchive::ReadAndDecodePackedStreams in CPP/7zip/Archive/7z/7zIn.cpp, as used in the 7z.so library and in 7z applications, will cause a crash and a denial of service when decoding malformed 7z
nvdosv
CVE-2016-2335HIGHCVSS 8.8≥ 0, < 15.14.1+dfsg-22016-06-07
CVE-2016-2335 [HIGH] CVE-2016-2335: The CInArchive::ReadFileItem method in Archive/Udf/UdfIn
The CInArchive::ReadFileItem method in Archive/Udf/UdfIn.cpp in 7zip 9.20 and 15.05 beta and p7zip allows remote attackers to cause a denial of service (out-of-bounds read) or execute arbitrary code via the PartitionRef field in the Long Allocation Descriptor in a UDF file.
osv
CVE-2015-1038MEDIUMCVSS 5.8v9.20.12015-01-21
CVE-2015-1038 [MEDIUM] CWE-59 CVE-2015-1038: p7zip 9.20.1 allows remote attackers to write to arbitrary files via a symlink attack in an archive.
p7zip 9.20.1 allows remote attackers to write to arbitrary files via a symlink attack in an archive.
nvdosv
CVE-2008-6536CRITICALCVSS 10.0≥ 0, < 4.57~dfsg.1-12009-03-30
CVE-2008-6536 [CRITICAL] CVE-2008-6536: Unspecified vulnerability in 7-zip before 4
Unspecified vulnerability in 7-zip before 4.5.7 has unknown impact and remote attack vectors, as demonstrated by the PROTOS GENOME test suite for Archive Formats (c10).
osv