Skip to content
Fencer Intel
medium 6.8

CVE-2009-5022 json

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 15y ago modified 4mo ago also EUVD-2009-4980

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
11.7%
EPSS 11.7% chance of exploitation in 30 days, percentile 96%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • tiff Debian 14, Debian 13, Debian 12 3.9.5-1

debian advisories DEBIAN-CVE-2009-5022

  • libtiff RHEL 6 3.9.4-1.el6_0.3

red hat advisories RHSA-2011:0452

Is CVE-2009-5022 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2009-5022 updated cvss 6.8

libtiff ojpeg buffer overflow

  • Red Hat Enterprise Linux Desktop (v. 6) libtiff 3.9.4-1.el6_0.3 Red Hat Enterprise Linux Desktop Optional (v. 6) libtiff 3.9.4-1.el6_0.3 Red Hat Enterprise Linux HPC Node (v. 6) libtiff 3.9.4-1.el6_0.3 Red Hat Enterprise Linux HPC Node Optional (v. 6) libtiff 3.9.4-1.el6_0.3 Red Hat Enterprise Linux Server (v. 6) libtiff 3.9.4-1.el6_0.3 Red Hat Enterprise Linux Server Optional (v. 6) libtiff 3.9.4-1.el6_0.3
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 6) libtiff 3.9.4-1.el6_0.3 Red Hat Enterprise Linux Workstation Optional (v. 6) libtiff 3.9.4-1.el6_0.3
    fixed: vendor fix RHSA-2011:0452
  • Red Hat Enterprise Linux 4 libtiff Red Hat Enterprise Linux 5 libtiff
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-22681)

Exploit prediction

11.71% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-22681 IrfanView - '.TIF' Image Decompression Buffer Overflow dos, 2012-11-13
  • openwall.com http://openwall.com/lists/oss-security/2011/04/12/10 referenced PoC, tagged "exploit" by a source, unverified
  • bugzilla.maptools.org http://bugzilla.maptools.org/show_bug.cgi?id=1999 referenced PoC, tagged "exploit" by a source, unverified
  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=695885 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.