Every CVE Search/ Get API key

CVE-2009-5022

Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows...

6.8 MediumPublic exploitFix available

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.

Exploit likelihood

10.8%Down 28.9 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2009-5022
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2009-5022
Updated
2026-11-02
EUVDEUVD-2009-4980 No score

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.

Record
EUVD-2009-4980
Updated
2026-11-03
GitHub AdvisoriesGHSA-c6jf-8jhf-3f5j No score

Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows...

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.

Record
GHSA-c6jf-8jhf-3f5j
Weakness
CWE-119
Updated
2026-11-02
OSV No score

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.

Record
CVE-2009-5022
Updated
2026-11-02
OSVDEBIAN-CVE-2009-5022 No score

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.

Record
DEBIAN-CVE-2009-5022
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tiff
Debian:12
before 3.9.5-1
3.9.5-1
tiff
Debian:13
before 3.9.5-1
3.9.5-1
tiff
Debian:14
before 3.9.5-1
3.9.5-1
tiff
Debian:6.0
before 3.9.4-5+squeeze2, plus listed versions
3.9.4-53.9.4-5+squeeze1
3.9.4-5+squeeze2
libtiff
Red Hat:enterprise_linux:6::client
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-debuginfo
Red Hat:enterprise_linux:6::client
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-devel
Red Hat:enterprise_linux:6::client
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-static
Red Hat:enterprise_linux:6::client
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff
Red Hat:enterprise_linux:6::computenode
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
Show 10 moreShow less
Affected packages
PackageAffectedFixed
libtiff-devel
Red Hat:enterprise_linux:6::computenode
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-static
Red Hat:enterprise_linux:6::computenode
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff
Red Hat:enterprise_linux:6::server
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-debuginfo
Red Hat:enterprise_linux:6::server
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-static
Red Hat:enterprise_linux:6::server
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-devel
Red Hat:enterprise_linux:6::server
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff
Red Hat:enterprise_linux:6::workstation
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-static
Red Hat:enterprise_linux:6::workstation
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3
libtiff-devel
Red Hat:enterprise_linux:6::workstation
before 0:3.9.4-1.el6_0.3
0:3.9.4-1.el6_0.3

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBIrfanView - '.TIF' Image Decompression Buffer Overflow2012-11-13

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2009-5022 is a medium vulnerability (CVSS 6.8) in Libtiff, published May 3, 2011. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 10.8%, the 95th percentile. Fixed in tiff 3.9.5-1.

References

Show 19 moreShow less
MoveEnter Open