CVE-2012-5581

CVE-2012-5581 is a medium-severity vulnerability in Libtiff with a CVSS 2.0 base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.

Key facts

Description

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.

Frequently asked questions

What is CVE-2012-5581?
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.
How severe is CVE-2012-5581?
CVE-2012-5581 has a CVSS 2.0 base score of 6.8, rated medium severity.
Is CVE-2012-5581 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-5581?
CVE-2012-5581 primarily affects Libtiff. In total, 57 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-5581?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-5581 published?
CVE-2012-5581 was published on 2013-01-04 and last updated on 2026-06-16.

References

Affected products (57)

More vulnerabilities in Libtiff

All CVEs affecting Libtiff →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →