CWE
119
Advisory Published
CVE Published
Updated

CVE-2009-5022: Buffer Overflow

First published: Tue Apr 12 2011(Updated: )

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.

Credit: secalert@redhat.com

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • How do I fix CVE-2009-5022?

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

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203