CVE-2009-5022
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
IrfanView - '.TIF' Image Decompression Buffer Overflow
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.9.5-1 |
| sid | Fixed | 3.9.5-1 |
| forky | Fixed | 3.9.5-1 |
| bullseye | Fixed | 3.9.5-1 |
| bookworm | Fixed | 3.9.5-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| libtiff | libtiff | {"endIncluding":"3.9.4"} | |
| libtiff | libtiff | 3.4 | |
| libtiff | libtiff | 3.5.1 | |
| libtiff | libtiff | 3.5.2 | |
| libtiff | libtiff | 3.5.3 | |
| libtiff | libtiff | 3.5.4 | |
| libtiff | libtiff | 3.5.5 | |
| libtiff | libtiff | 3.5.6 | |
| libtiff | libtiff | 3.5.7 | |
| libtiff | libtiff | 3.6.0 | |
| libtiff | libtiff | 3.6.1 | |
| libtiff | libtiff | 3.7.0 | |
| libtiff | libtiff | 3.7.1 | |
| libtiff | libtiff | 3.7.2 | |
| libtiff | libtiff | 3.7.3 | |
| libtiff | libtiff | 3.7.4 | |
| libtiff | libtiff | 3.8.0 | |
| libtiff | libtiff | 3.8.1 | |
| libtiff | libtiff | 3.8.2 | |
| libtiff | libtiff | 3.9 | |
| libtiff | libtiff | 3.9.0 | |
| libtiff | libtiff | 3.9.1 | |
| libtiff | libtiff | 3.9.2 | |
| libtiff | libtiff | 3.9.2-5.2.1 | |
| libtiff | libtiff | 3.9.3 | |
References
- http://bugzilla.maptools.org/show_bug.cgi?id=1999
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058478.html
- http://openwall.com/lists/oss-security/2011/04/12/10
- http://secunia.com/advisories/44271
- http://secunia.com/advisories/50726
- http://security.gentoo.org/glsa/glsa-201209-02.xml
- http://securitytracker.com/id?1025380
- http://www.debian.org/security/2011/dsa-2256
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:078
- http://www.redhat.com/support/errata/RHSA-2011-0452.html
- http://www.remotesensing.org/libtiff/v3.9.5.html
- http://www.securityfocus.com/bid/47338
- http://www.ubuntu.com/usn/USN-1120-1
- http://www.vupen.com/english/advisories/2011/1014
- http://www.vupen.com/english/advisories/2011/1082
- https://bugzilla.redhat.com/show_bug.cgi?id=695885
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66774
- https://security-tracker.debian.org/tracker/CVE-2009-5022
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.