CVE-2012-4564

Summary

CVECVE-2012-4564
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-11-11 13:00:58 UTC
Updated2026-04-29 01:13:23 UTC
Descriptionppm2tiff 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.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 10.04 All All All
Operating System Canonical Ubuntu Linux 11.10 All All All
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 12.10 All All All
Operating System Canonical Ubuntu Linux 8.04 All All All
Operating System Debian Debian Linux 6.0 All All All
Operating System Debian Debian Linux 7.0 All All All
Application Libtiff Libtiff All All All All
Operating System Opensuse Opensuse 11.4 All All All
Operating System Redhat Enterprise Linux Desktop 5.0 All All All
Operating System Redhat Enterprise Linux Desktop 6.0 All All All
Operating System Redhat Enterprise Linux Eus 6.3 All All All
Operating System Redhat Enterprise Linux Server 5.0 All All All
Operating System Redhat Enterprise Linux Server 6.0 All All All
Operating System Redhat Enterprise Linux Workstation 5.0 All All All
Operating System Redhat Enterprise Linux Workstation 6.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Debian -- Security Information -- DSA-2575-1 tiff af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
oss-security - libtiff: Missing return value check in ppm2tiff leading to heap-buffer overflow when reading a tiff file af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
LibTIFF 'TIFFScanlineSize()' Function Heap-based Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Security Advisory SA51133 - LibTIFF "ppm2tiff" Buffer Overflow Vulnerability - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory, Vendor Advisory
Bug 871700 – CVE-2012-4564 libtiff: Missing return value check in ppm2tiff leading to heap-buffer overflow when reading a tiff file af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Exploit, Issue Tracking, Patch, Third Party Advisory
oss-security - Re: libtiff: Missing return value check in ppm2tiff leading to heap-buffer overflow when reading a tiff file af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
www.osvdb.org/86878 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org Broken Link
USN-1631-1: LibTIFF vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
openSUSE-SU-2013:0187-1: moderate: tiff af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
Red Hat Customer Portal MITRE access.redhat.com
access.redhat.com | CVE-2012-4564 MITRE access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report