← Vulnerability feed

Vulnerability record · CVE-2009-5022 · published 3 May 2011

CVE-2009-5022: Libtiff memory buffer overflow vulnerability

Libtiff · Libtiff

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.

6.8 CVSS 2.0 Medium EPSS 11% · top 4.3% CWE-119 · Memory buffer overflow
6.8CVSS 2.0 base score
11%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
34References, 6 tagged exploit
16 Jun 2026Last modified by NVD

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.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://bugzilla.maptools.org/show_bug.cgi?id=1999 Exploit
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058478.html
http://openwall.com/lists/oss-security/2011/04/12/10 Exploit
http://secunia.com/advisories/44271 Vendor Advisory
http://secunia.com/advisories/50726
http://security.gentoo.org/glsa/glsa-201209-02.xml
http://securitytracker.com/id?1025380
http://www.debian.org/security/2011/dsa-2256
http://www.mandriva.com/security/advisories?name=MDVSA-2011:078
http://www.redhat.com/support/errata/RHSA-2011-0452.html
http://www.remotesensing.org/libtiff/v3.9.5.html Patch
http://www.securityfocus.com/bid/47338
http://www.ubuntu.com/usn/USN-1120-1
http://www.vupen.com/english/advisories/2011/1014 Vendor Advisory
http://www.vupen.com/english/advisories/2011/1082 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=695885 Exploit
https://exchange.xforce.ibmcloud.com/vulnerabilities/66774
http://bugzilla.maptools.org/show_bug.cgi?id=1999 Exploit
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058478.html
http://openwall.com/lists/oss-security/2011/04/12/10 Exploit
http://secunia.com/advisories/44271 Vendor Advisory
http://secunia.com/advisories/50726
http://security.gentoo.org/glsa/glsa-201209-02.xml
http://securitytracker.com/id?1025380
http://www.debian.org/security/2011/dsa-2256
http://www.mandriva.com/security/advisories?name=MDVSA-2011:078
http://www.redhat.com/support/errata/RHSA-2011-0452.html
http://www.remotesensing.org/libtiff/v3.9.5.html Patch
http://www.securityfocus.com/bid/47338
http://www.ubuntu.com/usn/USN-1120-1
http://www.vupen.com/english/advisories/2011/1014 Vendor Advisory
http://www.vupen.com/english/advisories/2011/1082 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=695885 Exploit
https://exchange.xforce.ibmcloud.com/vulnerabilities/66774

Track CVE-2009-5022 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2004-0929Libtiff vulnerabilityHeap-based buffer overflow in the OJPEGVSetField function in tif_ojpeg.c for libtiff 3.6.1 and earlier, when compiled with the OJPEG_SUPPORT (old JPE…EPSS 8.2%10.0CVE-2004-1308Libtiff vulnerabilityInteger overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows remote attackers to execute arbitrary code via a TIFF fil…EPSS 15%9.8CVE-2016-9540Libtiff memory buffer overflow vulnerabilitytools/tiffcp.c in libtiff 4.0.6 has an out-of-bounds write on tiled images with odd tile width versus image width. Reported as MSVR 35103, aka "cpStr…EPSS 3.6%9.8CVE-2016-9539Libtiff memory buffer overflow vulnerabilitytools/tiffcrop.c in libtiff 4.0.6 has an out-of-bounds read in readContigTilesIntoBuffer(). Reported as MSVR 35092.EPSS 3.0%9.8CVE-2016-9538Libtiff integer overflow vulnerabilitytools/tiffcrop.c in libtiff 4.0.6 reads an undefined buffer in readContigStripsIntoBuffer() because of a uint16 integer overflow. Reported as MSVR 35…EPSS 3.4%9.8CVE-2016-9537Libtiff memory buffer overflow vulnerabilitytools/tiffcrop.c in libtiff 4.0.6 has out-of-bounds write vulnerabilities in buffers. Reported as MSVR 35093, MSVR 35096, and MSVR 35097.EPSS 3.1%9.8CVE-2016-9536Libtiff memory buffer overflow vulnerabilitytools/tiff2pdf.c in libtiff 4.0.6 has out-of-bounds write vulnerabilities in heap allocated buffers in t2p_process_jpeg_strip(). Reported as MSVR 350…EPSS 3.1%9.8CVE-2016-9535Libtiff memory buffer overflow vulnerabilitytif_predict.h and tif_predict.c in libtiff 4.0.6 have assertions that can lead to assertion failures in debug mode, or buffer overflows in release mo…EPSS 4.8%

Source: NIST National Vulnerability Database (record CVE-2009-5022), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.