{"id":"CVE-2012-4564","aliases":["DEBIAN-CVE-2012-4564","DSA-2575-1","EUVD-2012-4492","GHSA-x7qp-frp5-95fm","RHSA-2012:1590","openSUSE-SU-2024:10554-1"],"status":"published","title":"ppm2tiff does not check the return value of the TIFFScanlineSize function, which allows remote...","description":"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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.13521,"percentile":0.96476,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2012-11-11T11:00:00Z","modified":"2026-10-23T17:47:28Z","fixes":[{"ecosystem":"Debian:12","package":"tiff","fixed_in":["4.0.2-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tiff","fixed_in":["4.0.2-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tiff","fixed_in":["4.0.2-5"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"tiff","fixed_in":["3.9.4-5+squeeze7"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-5"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.4-5+squeeze7"}]}],"versions":["3.9.4-5","3.9.4-5+squeeze1","3.9.4-5+squeeze2","3.9.4-5+squeeze3","3.9.4-5+squeeze4","3.9.4-5+squeeze5","3.9.4-5+squeeze6"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8.2-18.el5_8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-9.el6_3"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7-1.1"}]}],"bundled":49}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"libtiff","product":"libtiff"},{"vendor":"opensuse","product":"opensuse"},{"vendor":"redhat","product":"enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_eus"},{"vendor":"redhat","product":"enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_workstation"}],"references":[{"url":"http://www.debian.org/security/2012/dsa-2575","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.osvdb.org/86878","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=871700","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","advisory","evidence","fix","report"]},{"url":"http://www.openwall.com/lists/oss-security/2012/11/02/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.securityfocus.com/bid/56372","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1631-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00076.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79750","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/11/02/7","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://secunia.com/advisories/51133","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory","Vendor Advisory","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1590.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4564","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2012:1590","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-4564","tags":["report"]},{"url":"https://github.com/advisories/GHSA-x7qp-frp5-95fm"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-4564","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=837577","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=860198","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=867235","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_1590.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3401","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3401","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3401","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-4447","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-4447","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4447","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-4564","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-5581","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-5581","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5581","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2009-2285","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2009-2347","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2010-2065","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2010-2067","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2010-2233","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2010-4665","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2011-0192","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2011-1167","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-1173","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-2113","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-3401","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-4564","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-1960","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-1961","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4231","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4232","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4243","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4244","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-8127","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-8128","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-8129","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-8130","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-9655","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-1547","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-7554","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8665","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8683","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8781","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8782","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8783","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3186","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3622","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3623","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3658","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3945","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3990","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3991","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5314","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5316","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5317","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5320","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5321","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5323","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5652","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5875","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9273","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9297","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9448","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9453","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-4564","description":"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.","status":"published","published":"2012-11-11T11:00:00Z","modified":"2024-08-06T20:42:54.686Z","updated_at":"2026-11-02T14:34:51.937988Z"}],"euvd":[{"id":"EUVD-2012-4492","description":"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.","status":"published","published":"2012-11-11T11:00:00Z","modified":"2024-08-06T20:42:54Z","updated_at":"2026-11-03T01:56:07.373412Z"}],"ghsa":[{"id":"GHSA-x7qp-frp5-95fm","title":"ppm2tiff does not check the return value of the TIFFScanlineSize function, which allows remote...","description":"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.","status":"published","published":"2022-05-13T01:13:34Z","modified":"2023-02-02T15:30:32Z","updated_at":"2026-11-02T14:52:46.933473Z"}],"nvd":[{"id":"CVE-2012-4564","description":"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.","status":"published","published":"2012-11-11T13:00:58.29Z","modified":"2026-06-16T23:45:24.427Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:02:16.536025Z"}],"osv":[{"id":"CVE-2012-4564","description":"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.","status":"published","published":"2012-11-11T13:00:58Z","modified":"2026-04-10T03:44:19.129735Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2012-4564","description":"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.","status":"published","published":"2012-11-11T13:00:58.29Z","modified":"2026-10-23T17:47:28.672427904Z","updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"DSA-2575-1","title":"tiff - heap overflow","status":"published","published":"2012-11-18T00:00:00Z","modified":"2026-03-09T01:18:32.574576Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"openSUSE-SU-2024:10554-1","title":"libtiff-devel-32bit-4.0.7-1.1 on GA media","description":"These are all security issues fixed in the libtiff-devel-32bit-4.0.7-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:06:36.058128Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"RHSA-2012:1590","title":"Red Hat Security Advisory: libtiff security update","status":"published","published":"2024-09-15T20:28:28Z","modified":"2026-06-26T12:21:42.991412713Z","updated_at":"2026-11-02T15:53:01.495018Z"}]}}
