Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-5022 EUVD-2009-4980GHSA-c6jf-8jhf-3f5j

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 vi…

Published May 3, 2011 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tiff 3.9.5-1 —
Debian 13 tiff 3.9.5-1 —
Debian 12 tiff 3.9.5-1 —
Debian 6.0 tiff 3.9.4-5+squeeze2 DSA-2256-1
ReleasePackageFixed inAdvisory
RHEL 6 libtiff +2 3.9.4-1.el6_0.3 RHSA-2011:0452

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References