Home / Libtiff / Libtiff / CVE-2009-5022
CVE-2009-5022: is it exploited, and which versions of Libtiff are affected and fixed?
CVE-2009-5022 is a memory corruption (buffer overflow) 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, 09:08 UTC). Affected: libtiff through 3.9.4, libtiff 3.4, libtiff 3.5.1 and 22 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, 09:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
What is CVE-2009-5022?
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.
From the CVE record by redhat, last updated August 7, 2024, 07:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libtiff | libtiff | through 3.9.4 | application |
| libtiff | libtiff | 3.4 | application |
| libtiff | libtiff | 3.5.1 | application |
| libtiff | libtiff | 3.5.2 | application |
| libtiff | libtiff | 3.5.3 | application |
| libtiff | libtiff | 3.5.4 | application |
| libtiff | libtiff | 3.5.5 | application |
| libtiff | libtiff | 3.5.6 | application |
| libtiff | libtiff | 3.5.7 | application |
| libtiff | libtiff | 3.6.0 | application |
| libtiff | libtiff | 3.6.1 | application |
| libtiff | libtiff | 3.7.0 | application |
| libtiff | libtiff | 3.7.1 | application |
| libtiff | libtiff | 3.7.2 | application |
| libtiff | libtiff | 3.7.3 | application |
| libtiff | libtiff | 3.7.4 | application |
| libtiff | libtiff | 3.8.0 | application |
| libtiff | libtiff | 3.8.1 | application |
| libtiff | libtiff | 3.8.2 | application |
| libtiff | libtiff | 3.9 | application |
| libtiff | libtiff | 3.9.0 | application |
| libtiff | libtiff | 3.9.1 | application |
| libtiff | libtiff | 3.9.2 | application |
| libtiff | libtiff | 3.9.2-5.2.1 | application |
| libtiff | libtiff | 3.9.3 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:14 UTC.
How severe is CVE-2009-5022?
| 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-2009-5022 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 11.7% probability of exploitation activity in the next 30 days, percentile 96.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- [oss-security] 20110412 libtiff CVE assignments mailing-list, x_refsource_MLIST
- DSA-2256 vendor-advisory, x_refsource_DEBIAN
- libtiff-ojpeg-bo(66774) vdb-entry, x_refsource_XF
- 44271 third-party-advisory, x_refsource_SECUNIA
- http://bugzilla.maptools.org/show_bug.cgi?id=1999 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=695885 x_refsource_CONFIRM
- 1025380 vdb-entry, x_refsource_SECTRACK
- MDVSA-2011:078 vendor-advisory, x_refsource_MANDRIVA
- GLSA-201209-02 vendor-advisory, x_refsource_GENTOO
- FEDORA-2011-5304 vendor-advisory, x_refsource_FEDORA
- ADV-2011-1014 vdb-entry, x_refsource_VUPEN
- http://www.remotesensing.org/libtiff/v3.9.5.html x_refsource_CONFIRM
- ADV-2011-1082 vdb-entry, x_refsource_VUPEN
- 47338 vdb-entry, x_refsource_BID
- USN-1120-1 vendor-advisory, x_refsource_UBUNTU
- RHSA-2011:0452 vendor-advisory, x_refsource_REDHAT
- 50726 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- December 9, 2010
- Published
- May 3, 2011, 20:00 UTC
- CVE record updated
- August 7, 2024, 07:24 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:14 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 09: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-2009-5022
Is CVE-2009-5022 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 11.7% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Libtiff are affected by CVE-2009-5022?
libtiff through 3.9.4, libtiff 3.4, libtiff 3.5.1, libtiff 3.5.2, libtiff 3.5.3, libtiff 3.5.4 and 19 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2009-5022?
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-2009-5022?
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-2009-5022?
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.