CVE-2009-5022: Buffer Overflow

Published Apr 12, 2011
·
Updated

Heap-based buffer overflow in tifojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows remote attackers to execute arbitrary code via a crafted TIFF file.

Other sources

The libtiff OJPEG decoder contains a heap buffer overflow when decoding certain malformed data.

This was made known via the upstream 3.9.5 announcement. The bug is quite old.

upstream bug: http://bugzilla.maptools.org/showbug.cgi?id=1999

Red Hat

Affected Software

47 affected components
LibTIFF libtiff=3.4-beta29
LibTIFF libtiff=3.7.0-beta
LibTIFF libtiff=3.6.0-beta2
LibTIFF libtiff=3.4-beta34
LibTIFF libtiff=3.6.1
LibTIFF libtiff=3.6.0-beta
LibTIFF libtiff=3.8.0
LibTIFF libtiff=3.7.3
LibTIFF libtiff=3.4-beta32
LibTIFF libtiff=3.4-beta31
LibTIFF libtiff=3.8.1
LibTIFF libtiff=3.4-beta36
LibTIFF libtiff=3.4-beta24
LibTIFF libtiff=3.9.3
LibTIFF libtiff=3.4
LibTIFF libtiff=3.5.7-alpha4
LibTIFF libtiff=3.8.2
LibTIFF libtiff=3.4-beta28
LibTIFF libtiff=3.5.7
LibTIFF libtiff=3.5.7-beta
LibTIFF libtiff=3.7.2
LibTIFF libtiff=3.4-beta37
LibTIFF libtiff=3.7.0
LibTIFF libtiff=3.9.2-5.2.1
LibTIFF libtiff=3.6.0
LibTIFF libtiff=3.5.3
LibTIFF libtiff=3.7.1
LibTIFF libtiff=3.5.4
LibTIFF libtiff=3.5.2
LibTIFF libtiff=3.5.7-alpha3
LibTIFF libtiff<=3.9.4
LibTIFF libtiff=3.9.2
LibTIFF libtiff=3.7.0-beta2
LibTIFF libtiff=3.5.7-alpha
LibTIFF libtiff=3.7.4
LibTIFF libtiff=3.7.0-alpha
LibTIFF libtiff=3.5.5
LibTIFF libtiff=3.9.0-beta
LibTIFF libtiff=3.5.6-beta
LibTIFF libtiff=3.9.0
LibTIFF libtiff=3.5.1
LibTIFF libtiff=3.9.1
LibTIFF libtiff=3.4-beta18
LibTIFF libtiff=3.9
LibTIFF libtiff=3.5.7-alpha2
LibTIFF libtiff=3.5.6
LibTIFF libtiff=3.4-beta35

Event History

Apr 12, 2011
Data Sourced
09:14 PM
DescriptionSeverityAffected Software
May 3, 2011
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2009-5022?

CVE-2009-5022 has a high severity rating due to the risk of remote code execution through crafted TIFF files.

2

How do I fix CVE-2009-5022?

To fix CVE-2009-5022, update LibTIFF to version 3.9.5 or later.

3

Which versions of LibTIFF are affected by CVE-2009-5022?

All LibTIFF versions prior to 3.9.5, including versions 3.4 through 3.9.4, are affected by CVE-2009-5022.

4

What types of attacks can exploit CVE-2009-5022?

CVE-2009-5022 can be exploited via crafted TIFF files, allowing attackers to execute arbitrary code on the victim's system.

5

Is there a workaround for CVE-2009-5022 before updating?

Disabling the use of the OJPEG decoder in applications that utilize LibTIFF may serve as a temporary workaround for CVE-2009-5022.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203