DSA-4104: -1 p7zip -- security update

Published Feb 4, 2018
·
Updated

'landave' discovered a heap-based buffer overflow vulnerability in the NCompress::NShrink::CDecoder::CodeReal method in p7zip, a 7zr file archiver with high compression ratio. A remote attacker can take advantage of this flaw to cause a denial-of-service or, potentially the execution of arbitrary code with the privileges of the user running p7zip, if a specially crafted shrinked ZIP archive is processed.

Affected Software

2 affected components
debian/p7zip
debian/p7zip

Event History

Feb 4, 2018
Advisory Published
12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is exposed to this issue?

Users or services that run p7zip and process ZIP archives are exposed, particularly when handling archives from remote or untrusted sources. Successful exploitation would occur with the privileges of the user running p7zip.

2

What does an attacker need to exploit the vulnerability?

An attacker needs to cause p7zip to process a specially crafted shrinked ZIP archive. The issue may result in denial of service or potentially arbitrary code execution.

3

How can I reduce risk before applying the security update?

Avoid processing untrusted or remotely supplied shrinked ZIP archives with p7zip until the security update can be applied. Restricting the privileges of accounts or services that run p7zip limits the privileges available to potential code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203