# CVE-2008-0888: The NEEDBITS macro in the inflate\_dynamic function in inflate.c for unzip can be invoked using invalid buffers, which a…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v2.0, NVD) `AV:N/AC:M/Au:N/C:C/I:C/A:C`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Medium; Authentication: None; Confidentiality impact: Complete; Integrity impact: Complete; Availability impact: Complete
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 6.29% (percentile 94, 2026-11-26)
- **CWE:** CWE-119
- **Published:** 2008-03-17T21:00:00.000Z
- **Modified:** 2026-06-16T22:50:32.717Z

## Who should check

- Anyone running info-zip unzip \< 6.0

## Description

The NEEDBITS macro in the inflate\_dynamic function in inflate.c for unzip can be invoked using invalid buffers, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via unknown vectors that trigger a free of uninitialized or previously-freed data.

## Affected and fixed versions

- info-zip unzip: \< 6.0 (cvelist)

## Mitigation

- Upgrade unzip to 6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2008-0888. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2008-0888.md
Affected: info-zip unzip < 6.0
Fixed in: info-zip unzip 6.0

Steps:
1. Search this machine and project for info-zip unzip: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2008-0888 being exploited?

There is no confirmed exploitation: CVE-2008-0888 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2008-0888?

Critical: CVSS 9.3 (v2.0, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2008-0888?

info-zip unzip \< 6.0.

### Is there a fix for CVE-2008-0888?

Yes. Fixed in info-zip unzip 6.0. Upgrade unzip to 6.0 or later.

### How do I check if I'm affected by CVE-2008-0888?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://secunia.com/advisories/29415>
- vendor: <http://secunia.com/advisories/29427>
- vendor: <http://www.vupen.com/english/advisories/2008/1744>
- vendor: <http://secunia.com/advisories/29440>
- vendor: <http://www.debian.org/security/2008/dsa-1522>
- vendor: <http://secunia.com/advisories/29432>
- vendor: <http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html>
- vendor: <http://secunia.com/advisories/29392>
- vendor: <http://secunia.com/advisories/29681>
- vendor: <http://www.mandriva.com/en/security/advisories?name=MDVSA-2008:068>
- vendor: <http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html>
- vendor: <http://www.vupen.com/english/advisories/2008/0913/references>
- vendor: <http://security.gentoo.org/glsa/glsa-200804-06.xml>
- vendor: <http://secunia.com/advisories/29406>
- vendor: <http://secunia.com/advisories/29495>
- vendor: <http://secunia.com/advisories/31204>
- vendor: <http://www.redhat.com/support/errata/RHSA-2008-0196.html>
- vendor: <http://www.ubuntu.com/usn/usn-589-1>
- patch: <http://secunia.com/advisories/30535>
- other: <http://www.securityfocus.com/archive/1/489967/100/0/threaded>
- other: <https://issues.rpath.com/browse/RPL-2317>
- other: <http://wiki.rpath.com/Advisories:rPSA-2008-0116>
- other: <http://www.vmware.com/security/advisories/VMSA-2008-0009.html>
- other: <http://www.ipcop.org/index.php?name=News&file=article&sid=40>
- other: <http://support.apple.com/kb/HT4077>
- other: <http://www.securityfocus.com/archive/1/493080/100/0/threaded>
- other: <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9733>
- other: <http://www.securitytracker.com/id?1019634>
- other: <https://exchange.xforce.ibmcloud.com/vulnerabilities/41246>
- other: <http://www.securityfocus.com/bid/28288>
- other: <http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0116>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2008-0888>

HTML: <https://flawdb.com/CVE-2008-0888> · JSON: <https://flawdb.com/api/v1/entries/CVE-2008-0888>
