Skip to content
OpenAdvisories
Unscored Public exploit CVE-2016-2334 EUVD-2016-3418GHSA-62c7-f6mx-fmm8

Heap-based buffer overflow in the NArchive::NHfs::CHandler::ExtractZlibFile method in 7zip before 16.00 and p7zip allows remote attackers t…

Published Dec 13, 2016 · Updated Aug 5, 2024 · Assigned by certcc

Description

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.

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 15.14.1+dfsg-2 —
Debian 12 p7zip 15.14.1+dfsg-2 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed p7zip 16.02-2.1 openSUSE-SU-2024:10322-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References