Description
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.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | p7zip | 16.02+transitional.1 | — |
| Debian 12 | p7zip | 16.02+really25.01+dfsg-0+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | p7zip | No fix yet | — |
| Ubuntu 24.04 LTS | p7zip | No fix yet | — |
| Ubuntu 22.04 LTS | p7zip | No fix yet | — |
| Ubuntu 20.04 LTS | p7zip | No fix yet | — |
| Ubuntu 18.04 LTS | p7zip | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | p7zip | No fix yet | — |
| Ubuntu 14.04 LTS | p7zip | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | p7zip | 16.02-150200.14.15.1 | SUSE-SU-2025:3791-1 |
| SLES 15 SP6 | p7zip | 16.02-150200.14.15.1 | SUSE-SU-2025:3791-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | p7zip | 16.02-150200.14.15.1 | SUSE-SU-2025:3791-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | p7zip +2 | 16.02-20.amzn2023.0.5 | ALAS2023-2024-481 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | p7zip | No fix yet | — |
Advisories 6
- SUSE-SU-2025:3791-1 Security update for p7zip SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-25-044-09 Siemens SCALANCE W700 IEEE 802.11ax CISA ICS & IT advisories · May 6, 2025
- NCSC-2025-0061 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Feb 14, 2025
- NCSC-2025-0051 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Feb 11, 2025
- SSA-769027 SSA-769027: Multiple Vulnerabilities fixed in SCALANCE W700 IEEE 802.11ax devices before V3.0.0 Siemens ProductCERT · Feb 11, 2025
- ALAS2023-2024-481 Moderate: p7zip security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jan 8, 2024