Integer underflow in the unlzw function in unlzw.c in gzip before 1.4 on 64-bit…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 16
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gnu:gzip:*:*:*:*:*:*:*:* | up to 1.3.13 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.2.4:*:*:*:*:*:*:* | 1.2.4 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.2.4a:*:*:*:*:*:*:* | 1.2.4a | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3:*:*:*:*:*:*:* | 1.3 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.1:*:*:*:*:*:*:* | 1.3.1 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.2:*:*:*:*:*:*:* | 1.3.2 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.3:*:*:*:*:*:*:* | 1.3.3 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.4:*:*:*:*:*:*:* | 1.3.4 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.5:*:*:*:*:*:*:* | 1.3.5 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.6:*:*:*:*:*:*:* | 1.3.6 | Vulnerable | GNU |
- cpe:2.3:a:gnu:gzip:*:*:*:*:*:*:*:* Versions up to 1.3.13 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.2.4:*:*:*:*:*:*:* Versions 1.2.4 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.2.4a:*:*:*:*:*:*:* Versions 1.2.4a Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3:*:*:*:*:*:*:* Versions 1.3 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.1:*:*:*:*:*:*:* Versions 1.3.1 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.2:*:*:*:*:*:*:* Versions 1.3.2 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.3:*:*:*:*:*:*:* Versions 1.3.3 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.4:*:*:*:*:*:*:* Versions 1.3.4 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.5:*:*:*:*:*:*:* Versions 1.3.5 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.6:*:*:*:*:*:*:* Versions 1.3.6 Vulnerable ·GNU
Show 6 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gnu:gzip:1.3.7:*:*:*:*:*:*:* | 1.3.7 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.8:*:*:*:*:*:*:* | 1.3.8 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.9:*:*:*:*:*:*:* | 1.3.9 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.10:*:*:*:*:*:*:* | 1.3.10 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.11:*:*:*:*:*:*:* | 1.3.11 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gzip:1.3.12:*:*:*:*:*:*:* | 1.3.12 | Vulnerable | GNU |
- cpe:2.3:a:gnu:gzip:1.3.7:*:*:*:*:*:*:* Versions 1.3.7 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.8:*:*:*:*:*:*:* Versions 1.3.8 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.9:*:*:*:*:*:*:* Versions 1.3.9 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.10:*:*:*:*:*:*:* Versions 1.3.10 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.11:*:*:*:*:*:*:* Versions 1.3.11 Vulnerable ·GNU
- cpe:2.3:a:gnu:gzip:1.3.12:*:*:*:*:*:*:* Versions 1.3.12 Vulnerable ·GNU
Remediation
Red Hat 1 advisory
- RHSA-2010:0061 Released 2010-01-20 · Red Hat rating Moderategzip security update
- Red Hat Desktop version 3 gzip-1.3.3-15.rhel3, gzip-1.3.3-15.rhel3.i386
- Red Hat Enterprise Linux (v. 5 server) gzip-1.3.5-11.el5_4.1, gzip-1.3.5-11.el5_4.1.i386, gzip-1.3.5-11.el5_4.1.ia64 +1
- Red Hat Enterprise Linux AS version 3 gzip-1.3.3-15.rhel3, gzip-1.3.3-15.rhel3.i386, gzip-1.3.3-15.rhel3.ia64 +1
- Red Hat Enterprise Linux AS version 4 gzip-1.3.3-18.el4_8.1, gzip-1.3.3-18.el4_8.1.i386, gzip-1.3.3-18.el4_8.1.ia64 +1
- Red Hat Enterprise Linux Desktop (v. 5 client) gzip-1.3.5-11.el5_4.1, gzip-1.3.5-11.el5_4.1.i386
- Red Hat Enterprise Linux Desktop version 4 gzip-1.3.3-18.el4_8.1, gzip-1.3.3-18.el4_8.1.i386
- Red Hat Enterprise Linux ES version 3 gzip-1.3.3-15.rhel3, gzip-1.3.3-15.rhel3.i386, gzip-1.3.3-15.rhel3.ia64
- Red Hat Enterprise Linux ES version 4 gzip-1.3.3-18.el4_8.1, gzip-1.3.3-18.el4_8.1.i386, gzip-1.3.3-18.el4_8.1.ia64
- Red Hat Enterprise Linux WS version 3 gzip-1.3.3-15.rhel3, gzip-1.3.3-15.rhel3.i386, gzip-1.3.3-15.rhel3.ia64
- Red Hat Enterprise Linux WS version 4 gzip-1.3.3-18.el4_8.1, gzip-1.3.3-18.el4_8.1.i386, gzip-1.3.3-18.el4_8.1.ia64
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2010:0061 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2010:0061 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2010:0061 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2010:0061 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2010:0061 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2010:0061 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2010:0061 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2010:0061 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2010:0061 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2010:0061 |
Timeline
- 2026-10-02 Threatist record created from CVE-2010-0001
- 2026-10-03 Alias added: GHSA-pqhm-g528-h5pg
References
Advisory 12
Other 11
- http://support.apple.com/kb/HT4435
- http://ncompress.sourceforge.net/#status
- oval:org.mitre.oval:def:10546
- ADV-2010-1872
- https://bugzilla.redhat.com/show_bug.cgi?id=554418
- http://git.savannah.gnu.org/cgit/gzip.git/commit/?id=a3db5806d012082b9e25cc36d09f19cd736a468f
- oval:org.mitre.oval:def:7511
- http://savannah.gnu.org/forum/forum.php?forum_id=6153
- ADV-2010-1796
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- 61869
More GNU Gzip vulnerabilities
- TI-2022-01156 Improper input validation in gzip, xz-utils CVSS 3.1HIGH 8.8
- TI-2004-00544 gzexe in gzip 1.3.3 and earlier will execute an argument when the creation of a temp file… CVSS 2.0HIGH 10.0
- TI-2001-01181 Buffer overflows in gzip 1.3x, 1.2.4, and other versions might allow attackers to execute… CVSS 2.0HIGH 7.5
- TI-2009-02508 The huft_build function in inflate.c in gzip before 1.3.13 creates a hufts (aka huffman)… CVSS 2.0MEDIUM 6.8
- TI-2026-30386 Global Buffer Overflow in GNU gzip CVSS 4.0MEDIUM 6.9
- TI-2005-01163 Directory traversal vulnerability in gunzip -N in gzip 1.2.4 through 1.3.5 allows remote… CVSS 2.0MEDIUM 5.0
Sources
- CVE-2010-0001 · CVE Program
- CVE-2010-0001 · NVD
- FIRST EPSS
- GHSA-pqhm-g528-h5pg · GitHub Advisory Database · CC BY 4.0
- CVE-2010-0001 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences