CVE-2012-5581 json
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…
published 2013-01-04 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5468
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.2%
- EPSS 4.2% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- tiff Debian 14, Debian 13, Debian 12 4.0.2-1
debian advisories DEBIAN-CVE-2012-5581
- libtiff RHEL 5 3.8.2-18.el5_8
- libtiff RHEL 6 3.9.4-9.el6_3
red hat advisories RHSA-2012:1590
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-2012-5581 updated cvss 6.8
libtiff: Stack-based buffer overflow when reading a tiled tiff file
-
Red Hat Enterprise Linux (v. 5 server) libtiff 3.8.2-18.el5_8 Red Hat Enterprise Linux Desktop (v. 5 client) libtiff 3.8.2-18.el5_8 Red Hat Enterprise Linux Desktop (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Desktop Optional (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux HPC Node (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux HPC Node Optional (v. 6) libtiff 3.9.4-9.el6_3fixed: vendor fix RHSA-2012:1590
+5 more productsfewer
Red Hat Enterprise Linux Server (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Server Optional (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Workstation (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Workstation Optional (v. 6) libtiff 3.9.4-9.el6_3 Red Hat RHEL Desktop Workstation (v. 5 client) libtiff 3.8.2-18.el5_8
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
Exploit prediction
4.25% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
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
-
debian.org
/security/2012/dsa-2589
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2013-01/msg00076.html
vendor-advisory
-
ubuntu.com
/usn/USN-1655-1
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2012-1590.html
vendor-advisory
-
secunia.com
/advisories/51491
third-party-advisory, vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/80339
vdb-entry
-
securityfocus.com
/bid/56715
vdb-entry
- bugzilla.redhat.com /show_bug.cgi?id=867235
-
openwall.com
/lists/oss-security/2012/11/28/1
mailing-list
Sources
- CVE List CVE-2012-5581
- NVD CVE-2012-5581
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.