CVE-2009-5022 Memory corruption in n/a
Remote attackers can execute arbitrary code via a crafted TIFF file due to a heap-based buffer overflow in the LibTIFF OJPEG decoder.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2009-5022?
CVE-2009-5022 is a medium-severity memory corruption vulnerability in Libtiff Libtiff, published on 3 May 2011. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2009-5022?
It affects 1 product.
Linux distribution packages (16)
libtiff Red Hat:enterprise_linux:6::client | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-debuginfo Red Hat:enterprise_linux:6::client | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-devel Red Hat:enterprise_linux:6::client | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-static Red Hat:enterprise_linux:6::client | All versions | 0:3.9.4-1.el6_0.3 |
libtiff Red Hat:enterprise_linux:6::computenode | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-debuginfo Red Hat:enterprise_linux:6::computenode | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-devel Red Hat:enterprise_linux:6::computenode | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-static Red Hat:enterprise_linux:6::computenode | All versions | 0:3.9.4-1.el6_0.3 |
libtiff Red Hat:enterprise_linux:6::server | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-debuginfo Red Hat:enterprise_linux:6::server | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-devel Red Hat:enterprise_linux:6::server | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-static Red Hat:enterprise_linux:6::server | All versions | 0:3.9.4-1.el6_0.3 |
libtiff Red Hat:enterprise_linux:6::workstation | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-debuginfo Red Hat:enterprise_linux:6::workstation | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-devel Red Hat:enterprise_linux:6::workstation | All versions | 0:3.9.4-1.el6_0.3 |
libtiff-static Red Hat:enterprise_linux:6::workstation | All versions | 0:3.9.4-1.el6_0.3 |
Products include Libtiff Libtiff.
How do I fix CVE-2009-5022?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2009-5022 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-5022 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Libtiff Libtiff
Sources
Also known as DEBIAN-CVE-2009-5022, DSA-2256-1, GHSA-c6jf-8jhf-3f5j, RHSA-2011:0452.