Home / Libtiff / Libtiff / CVE-2012-4564
CVE-2012-4564: is it exploited, and which versions of Libtiff are affected and fixed?
CVE-2012-4564 is a vulnerability in Libtiff. 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:08 UTC). Affected: libtiff through 4.0.3, debian linux 6.0, debian linux 7.0 and 13 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-4564?
ppm2tiff does not check the return value of the TIFFScanlineSize function, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PPM image that triggers an integer overflow, a zero-memory allocation, and a heap-based buffer overflow.
From the CVE record by redhat, last updated August 6, 2024, 20:42 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libtiff | libtiff | through 4.0.3 | application |
| debian | debian linux | 6.0 | operating system |
| debian | debian linux | 7.0 | operating system |
| canonical | ubuntu linux | 8.04 | operating system |
| canonical | ubuntu linux | 10.04 | operating system |
| canonical | ubuntu linux | 11.10 | operating system |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 12.10 | operating system |
| redhat | enterprise linux desktop | 5.0 | operating system |
| redhat | enterprise linux desktop | 6.0 | operating system |
| redhat | enterprise linux eus | 6.3 | operating system |
| redhat | enterprise linux server | 5.0 | operating system |
| redhat | enterprise linux server | 6.0 | operating system |
| redhat | enterprise linux workstation | 5.0 | operating system |
| redhat | enterprise linux workstation | 6.0 | operating system |
| opensuse | opensuse | 11.4 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 23:45 UTC.
How severe is CVE-2012-4564?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/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-2012-4564 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 13.5% probability of exploitation activity in the next 30 days, percentile 96.5 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- DSA-2575 vendor-advisory, x_refsource_DEBIAN
- 86878 vdb-entry, x_refsource_OSVDB
- https://bugzilla.redhat.com/show_bug.cgi?id=871700 x_refsource_CONFIRM
- [oss-security] 20121102 libtiff: Missing return value check in ppm2tiff leading to heap-buffer overflow when reading a tiff file mailing-list, x_refsource_MLIST
- 56372 vdb-entry, x_refsource_BID
- USN-1631-1 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2013:0187 vendor-advisory, x_refsource_SUSE
- libtiff-ppm2tiff-bo(79750) vdb-entry, x_refsource_XF
- [oss-security] 20121102 Re: libtiff: Missing return value check in ppm2tiff leading to heap-buffer overflow when reading a tiff file mailing-list, x_refsource_MLIST
- 51133 third-party-advisory, x_refsource_SECUNIA
- RHSA-2012:1590 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- August 21, 2012
- Published
- November 11, 2012, 11:00 UTC
- CVE record updated
- August 6, 2024, 20:42 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:45 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libtiff?
- Feb 23, 2026CVE-2025-61145 Libtiff: double free
- Feb 23, 2026CVE-2025-61144 Libtiff: memory corruption (buffer overflow)
- Feb 23, 2026CVE-2025-61143 Libtiff: NULL pointer dereference (crash)
- Aug 19, 2025CVE-2025-9165 LibTIFF: memory leak disputed
- Aug 14, 2025CVE-2025-8961 LibTIFF: memory corruption (buffer overflow)
- Aug 11, 2025CVE-2025-8851 LibTIFF: stack buffer overflow
- Aug 4, 2025CVE-2025-8534 libtiff: NULL pointer dereference (crash)
- Aug 1, 2025CVE-2024-13978 LibTIFF: NULL pointer dereference (crash)
Questions about CVE-2012-4564
Is CVE-2012-4564 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 13.5% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Libtiff are affected by CVE-2012-4564?
libtiff through 4.0.3, debian linux 6.0, debian linux 7.0, ubuntu linux 8.04, ubuntu linux 10.04, ubuntu linux 11.10 and 10 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-4564?
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-2012-4564?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-4564?
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.