CVE-2006-4335: Array index error in the make_table function in unlzh.c in the LZH decompression component in gzip 1.3.5, when
CVE-2006-4335 is a high-severity flaw (CVSS 7.5) affecting gzip. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Array index error in the make_table function in unlzh.c in the LZH decompression component in gzip 1.3.5, when running on certain platforms, allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted GZIP archive that triggers an out-of-bounds write, aka a "stack modification vulnerability."
Why this priority
- High severity
- EPSS top 7%: very likely to be exploited
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 5.9% (top 7%) |
| CISA exploited list | No |
| Published | 2006-09-19 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2006-4335?
gzip: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2006-4335 being exploited?
CVE-2006-4335 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2006-4335 affect?
CVE-2006-4335 affects gzip. Severity is high (CVSS 7.5). Array index error in the make_table function in unlzh.c in the LZH decompression component in gzip 1.3.5, when running on certain platforms, allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitr
How urgent is CVE-2006-4335?
Priority 50/100. High severity; EPSS top 7%: very likely to be exploited
Related CVEs
- CVE-2026-41992 HIGH 7.5 UPGRADE GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reu
- CVE-2026-41991 MEDIUM 4.7 UPGRADE GNU gzip contains a vulnerability in the gzexe utility related to insecure temporary file handling
- CVE-2022-1271 HIGH 8.8 UPGRADE DOWNGRADE An arbitrary file write vulnerability was found in GNU gzip's zgrep utility
- CVE-2010-0001 MEDIUM 6.8 UPGRADE Integer underflow in the unlzw function in unlzw.c in gzip before 1.4 on 64-bit platforms, as used in ncompres
- CVE-2009-2624 MEDIUM 6.8 UPGRADE The huft_build function in inflate.c in gzip before 1.3.13 creates a hufts (aka huffman) table that is too sma