Home / Zlib / Zlib / CVE-2005-1849
CVE-2005-1849: is it exploited, and which versions of Zlib are affected and fixed?
CVE-2005-1849 is a vulnerability in Zlib. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: zlib 1.2.2 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2005-1849?
inftrees.h in zlib 1.2.2 allows remote attackers to cause a denial of service (application crash) via an invalid file that causes a large dynamic tree to be produced.
From the CVE record by debian, last updated August 7, 2024, 22:06 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| zlib | zlib | 1.2.2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:13 UTC.
How severe is CVE-2005-1849?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2005-1849 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.08% probability of exploitation activity in the next 30 days, percentile 91.0 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- zlib-codetable-dos(21456) vdb-entry, x_refsource_XF
- DSA-1026 vendor-advisory, x_refsource_DEBIAN
- 19334 third-party-advisory, x_refsource_SECUNIA
- DSA-797 vendor-advisory, x_refsource_DEBIAN
- DSA-763 vendor-advisory, x_refsource_DEBIAN
- GLSA-200509-18 vendor-advisory, x_refsource_GENTOO
- MDKSA-2005:196 vendor-advisory, x_refsource_MANDRIVA
- http://security.debian.org/pool/updates/main/z/zlib/zlib_1.2.2-4.sarge.2.diff.gz x_refsource_MISC
- 20070404 VMSA-2007-0003 VMware ESX 3.0.1 and 3.0.0 server security updates mailing-list, x_refsource_BUGTRAQ
- USN-151-3 vendor-advisory, x_refsource_UBUNTU
- GLSA-200603-18 vendor-advisory, x_refsource_GENTOO
- RHSA-2005:584 vendor-advisory, x_refsource_REDHAT
- http://www.vmware.com/support/vi3/doc/esx-9916286-patch.html x_refsource_CONFIRM
- 16137 third-party-advisory, x_refsource_SECUNIA
- 31492 third-party-advisory, x_refsource_SECUNIA
- oval:org.mitre.oval:def:11402 vdb-entry, signature, x_refsource_OVAL
- 18141 vdb-entry, x_refsource_OSVDB
- 1014540 vdb-entry, x_refsource_SECTRACK
- SUSE-SA:2005:043 vendor-advisory, x_refsource_SUSE
- MDKSA-2006:070 vendor-advisory, x_refsource_MANDRIVA
- RHSA-2008:0629 vendor-advisory, x_refsource_REDHAT
- ADV-2007-1267 vdb-entry, x_refsource_VUPEN
- http://www.vmware.com/support/vi3/doc/esx-3616065-patch.html x_refsource_CONFIRM
- 24788 third-party-advisory, x_refsource_SECUNIA
- 17326 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2005-08-15 vendor-advisory, x_refsource_APPLE
- 17516 third-party-advisory, x_refsource_SECUNIA
- 14340 vdb-entry, x_refsource_BID
- 19597 third-party-advisory, x_refsource_SECUNIA
- SCOSA-2006.6 vendor-advisory, x_refsource_SCO
- 19550 third-party-advisory, x_refsource_SECUNIA
- 18377 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2005-08-17 vendor-advisory, x_refsource_APPLE
- FLSA:162680 vendor-advisory, x_refsource_FEDORA
When was it published, and where is the official record?
- Reserved
- June 6, 2005
- Published
- July 26, 2005, 04:00 UTC
- CVE record updated
- August 7, 2024, 22:06 UTC by debian
- NVD
- Modified, last modified June 16, 2026, 22:13 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Zlib?
- Sep 3, 2026CVE-2026-85091 zlib: out-of-bounds write (memory corruption)
- Feb 18, 2026CVE-2026-27171 zlib: quantity not validated
- Oct 14, 2023CVE-2023-45853 Zlib: integer overflow
- Aug 5, 2022CVE-2022-37434 Zlib: out-of-bounds write (memory corruption)
- Mar 25, 2022CVE-2018-25032 Nokogiri: out-of-bounds write (memory corruption)
- May 23, 2017CVE-2016-9843 Zlib: n/a
- May 23, 2017CVE-2016-9842 Zlib: incorrect Bitwise Shift of Integer
- May 23, 2017CVE-2016-9841 Zlib: n/a
Questions about CVE-2005-1849
Is CVE-2005-1849 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 4.08% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Zlib are affected by CVE-2005-1849?
zlib 1.2.2, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2005-1849?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2005-1849?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2005-1849?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.