Heap-based Buffer Overflows in unzip

unzip Updated 02 Oct 2025

Summary

28/12/2014
N/A
Yes i
Unrated
Not published

DSA-3113-1: unzip - security update. Affects unzip versions < 6.0-8+deb7u1. Fixed in 6.0-8+deb7u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Unzip is an extraction utility for archives compressed in .zip format. It is commonly used to extract files from zip archives. The package is part of the Debian ecosystem and is specifically targeted at Debian 7 (wheezy).

Vulnerability Detail

The unzip package is affected by multiple heap-based buffer overflow vulnerabilities. These vulnerabilities exist within the CRC32 verification function, the test_compr_eb() function, and the getZip64Data() function. Exploiting these vulnerabilities could allow an attacker to execute arbitrary code on the affected system.

How To Fix

Minimum fixed version

6.0-8+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade unzip

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no mentioned workarounds for these vulnerabilities.

Conclusion

The unzip package is affected by multiple heap-based buffer overflow vulnerabilities. To mitigate these vulnerabilities, it is crucial to upgrade the unzip package to the fixed version. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for unzip →

Share this vulnerability

FAQ

These vulnerabilities could allow an attacker to execute arbitrary code on the affected system.

The CRC32 verification function, the test_compr_eb() function, and the getZip64Data() function are affected.

The vulnerabilities affect versions prior to 6.0-8+deb7u1 for Debian 7 (wheezy).

The recommended mitigation is to upgrade the unzip package to the fixed version.

More information can be found in the Debian Security Advisory DSA-3113-1.

Related vulnerabilities

Recent vulnerabilities recorded for unzip.

How To Fix

Minimum fixed version

6.0-8+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade unzip

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback