{"id":"CVE-2009-5022","aliases":["DEBIAN-CVE-2009-5022","DSA-2256-1","EUVD-2009-4980","GHSA-c6jf-8jhf-3f5j","RHSA-2011:0452"],"status":"published","title":"Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows...","description":"Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows remote attackers to execute arbitrary code via a crafted TIFF file.","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.11707,"percentile":0.96095,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-119"],"published":"2011-05-03T20:00:00Z","modified":"2026-10-23T17:47:24Z","exploits":[{"source":"exploitdb","id":"EDB-22681","title":"IrfanView - '.TIF' Image Decompression Buffer Overflow","type":"dos","platform":"windows","date":"2012-11-13","verified":true,"url":"https://www.exploit-db.com/exploits/22681"}],"fixes":[{"ecosystem":"Debian:12","package":"tiff","fixed_in":["3.9.5-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tiff","fixed_in":["3.9.5-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tiff","fixed_in":["3.9.5-1"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"tiff","fixed_in":["3.9.4-5+squeeze2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-debuginfo","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-devel","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-static","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-debuginfo","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-devel","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-static","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-debuginfo","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-static","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-devel","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-debuginfo","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-static","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-devel","fixed_in":["0:3.9.4-1.el6_0.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.5-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.5-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.5-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.4-5+squeeze2"}]}],"versions":["3.9.4-5","3.9.4-5+squeeze1"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-1.el6_0.3"}]}]}],"products":[{"vendor":"libtiff","product":"libtiff"}],"references":[{"url":"http://openwall.com/lists/oss-security/2011/04/12/10","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","evidence"]},{"url":"http://www.debian.org/security/2011/dsa-2256","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/66774","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://secunia.com/advisories/44271","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://bugzilla.maptools.org/show_bug.cgi?id=1999","tags":["x_refsource_CONFIRM","x_transferred","Exploit","evidence"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=695885","tags":["x_refsource_CONFIRM","x_transferred","Exploit","evidence","report"]},{"url":"http://securitytracker.com/id?1025380","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:078","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-201209-02.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058478.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2011/1014","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.remotesensing.org/libtiff/v3.9.5.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://www.vupen.com/english/advisories/2011/1082","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/47338","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.ubuntu.com/usn/USN-1120-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0452.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://secunia.com/advisories/50726","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-5022","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2011:0452","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2009-5022","tags":["report"]},{"url":"https://github.com/advisories/GHSA-c6jf-8jhf-3f5j"},{"url":"https://security-tracker.debian.org/tracker/CVE-2009-5022","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2011/rhsa-2011_0452.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2009-5022","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2009-5022","description":"Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows remote attackers to execute arbitrary code via a crafted TIFF file.","status":"published","published":"2011-05-03T20:00:00Z","modified":"2024-08-07T07:24:53.996Z","updated_at":"2026-11-02T14:33:22.699876Z"}],"euvd":[{"id":"EUVD-2009-4980","description":"Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows remote attackers to execute arbitrary code via a crafted TIFF file.","status":"published","published":"2011-05-03T20:00:00Z","modified":"2024-08-07T07:24:53Z","updated_at":"2026-11-03T01:39:08.21747Z"}],"ghsa":[{"id":"GHSA-c6jf-8jhf-3f5j","title":"Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows...","description":"Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows remote attackers to execute arbitrary code via a crafted TIFF file.","status":"published","published":"2022-05-02T04:00:27Z","modified":"2023-02-10T05:06:01Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:54:00.189984Z"}],"nvd":[{"id":"CVE-2009-5022","description":"Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows remote attackers to execute arbitrary code via a crafted TIFF file.","status":"published","published":"2011-05-03T20:55:04.51Z","modified":"2026-06-16T23:14:50.77Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:38.684719Z"}],"osv":[{"id":"CVE-2009-5022","description":"Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows remote attackers to execute arbitrary code via a crafted TIFF file.","status":"published","published":"2011-05-03T20:55:04Z","modified":"2026-04-10T03:41:03.563779Z","updated_at":"2026-11-02T15:43:57.714116Z"},{"id":"DEBIAN-CVE-2009-5022","description":"Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows remote attackers to execute arbitrary code via a crafted TIFF file.","status":"published","published":"2011-05-03T20:55:04.51Z","modified":"2026-10-23T17:47:24.290480875Z","updated_at":"2026-11-02T15:45:24.013654Z"},{"id":"DSA-2256-1","title":"tiff - buffer overflow","status":"published","published":"2011-06-09T00:00:00Z","modified":"2026-03-09T01:22:29.062158Z","updated_at":"2026-11-02T15:46:15.108335Z"},{"id":"RHSA-2011:0452","title":"Red Hat Security Advisory: libtiff security update","status":"published","published":"2024-09-15T19:07:21Z","modified":"2026-06-28T10:04:48Z","updated_at":"2026-11-02T15:53:01.003286Z"}]}}
