Skip to content
OpenAdvisories
Unscored CVE-2022-47069 EUVD-2022-49846GHSA-hjgv-c5xv-9h9v

p7zip 16.02 was discovered to contain a heap-buffer-overflow vulnerability via the function NArchive::NZip::CInArchive::FindCd(bool) at CPP…

Published Aug 22, 2023 · Updated Nov 20, 2025 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
Debian 13 p7zip 16.02+transitional.1 —
Debian 12 p7zip 16.02+really25.01+dfsg-0+deb12u1 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS p7zip No fix yet —
Ubuntu 14.04 LTS p7zip No fix yet —
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 p7zip 16.02-150200.14.15.1 SUSE-SU-2025:3791-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 p7zip +2 16.02-20.amzn2023.0.5 ALAS2023-2024-481

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 p7zip No fix yet —

Advisories 6

References