CVE-2012-5581: Libtiff

Medium severity, CVSS 6.8. EPSS: 4.2% chance of exploitation in the next 30 days.

Stack-based buffer overflow in tif_dir.c in LibTIFF before 4.0.2 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted DOTRANGE tag in a TIFF image.

Affected products

  • Libtiff Libtiff: up to and including 4.0.1; version 3.4 only; version 3.5.1 only; version 3.5.2 only; version 3.5.3 only; version 3.5.4 only; …

Published 2013-01-04. Last modified 2026-06-16.