VYPR
Unrated severityNVD Advisory· Published Jul 2, 2010· Updated Apr 29, 2026

CVE-2010-2596

CVE-2010-2596

Description

A crafted TIFF image triggers an assertion failure in LibTIFF's OJPEGPostDecode function, causing denial of service via tiff2ps and similar tools.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A crafted TIFF image triggers an assertion failure in LibTIFF's OJPEGPostDecode function, causing denial of service via tiff2ps and similar tools.

Vulnerability

The vulnerability resides in the OJPEGPostDecode function in tif_ojpeg.c in LibTIFF versions 3.9.0 and 3.9.2. When processing a crafted TIFF image with downsampled old-style JPEG (OJPEG) compression, the function hits an assertion sp->libjpeg_session_active!=0 at line 848, causing a crash. The issue is triggered when tiff2ps or other image conversion tools (e.g., ImageMagick's convert) process such a malicious file [1][2].

Exploitation

An attacker needs to supply a specially crafted TIFF image using downsampled OJPEG compression. The user must open or convert the file with an application that uses the affected LibTIFF library, such as running tiff2ps or convert on the image. No authentication or special network position is required; the attack is purely file-based [1][2].

Impact

Successful exploitation results in a denial of service: the application crashes due to the failed assertion (abort) or a subsequent libjpeg error. The crash can terminate the calling process, affecting availability. The reported test file caused a segmentation fault in ImageMagick's convert and a failed assertion in tiff2ps [1][2].

Mitigation

The issue is fixed in LibTIFF versions 3.9.3 and later, specifically with a commit that replaces the assertion with a conditional check. Upstream releases 3.9.3 and 3.9.4 were published around June 2010 [3]. Users should upgrade to LibTIFF 3.9.3 or later. For Gentoo, the fix is included in >=media-libs/tiff-3.9.5-r2 [4]. No workaround is available apart from avoiding processing untrusted TIFF images with the vulnerable library versions.

AI Insight generated on May 23, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

3
  • LibTIFF/Libtiff3 versions
    cpe:2.3:a:libtiff:libtiff:3.9.0:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:a:libtiff:libtiff:3.9.0:*:*:*:*:*:*:*
    • cpe:2.3:a:libtiff:libtiff:3.9.2:*:*:*:*:*:*:*
    • (no CPE)range: 3.9.0, 3.9.2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

6

News mentions

0

No linked articles in our index yet.