CVE-2012-5581
Stack-based buffer overflow in tif_dir.c in LibTIFF before 4.0.2 allows remote attackers to cause...
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2012-5581- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-5581- Updated
- 2026-11-02
EUVDEUVD-2012-5468 No score
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.
- Record
EUVD-2012-5468- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jvhr-577x-xxvq No score
Stack-based buffer overflow in tif_dir.c in LibTIFF before 4.0.2 allows remote attackers to cause...
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.
- Record
GHSA-jvhr-577x-xxvq- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-5581- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-5581 No score
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.
- Record
DEBIAN-CVE-2012-5581- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tiffDebian:12 |
before 4.0.2-1 | 4.0.2-1 |
tiffDebian:13 |
before 4.0.2-1 | 4.0.2-1 |
tiffDebian:14 |
before 4.0.2-1 | 4.0.2-1 |
tiffDebian:6.0 |
before 3.9.4-5+squeeze8, plus listed versions 3.9.4-53.9.4-5+squeeze13.9.4-5+squeeze23.9.4-5+squeeze33.9.4-5+squeeze43.9.4-5+squeeze53.9.4-5+squeeze63.9.4-5+squeeze7 |
3.9.4-5+squeeze8 |
libtiffRed Hat:enterprise_linux:5::client |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiff-debuginfoRed Hat:enterprise_linux:5::client |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiffRed Hat:enterprise_linux:5::client_workstation |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiff-debuginfoRed Hat:enterprise_linux:5::client_workstation |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiff-develRed Hat:enterprise_linux:5::client_workstation |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiffRed Hat:enterprise_linux:5::server |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libtiff-debuginfoRed Hat:enterprise_linux:5::server |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiff-develRed Hat:enterprise_linux:5::server |
before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
libtiffRed Hat:enterprise_linux:6::client |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-debuginfoRed Hat:enterprise_linux:6::client |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-develRed Hat:enterprise_linux:6::client |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-staticRed Hat:enterprise_linux:6::client |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiffRed Hat:enterprise_linux:6::computenode |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-develRed Hat:enterprise_linux:6::computenode |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-staticRed Hat:enterprise_linux:6::computenode |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiffRed Hat:enterprise_linux:6::server |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-debuginfoRed Hat:enterprise_linux:6::server |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-develRed Hat:enterprise_linux:6::server |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-staticRed Hat:enterprise_linux:6::server |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiffRed Hat:enterprise_linux:6::workstation |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-develRed Hat:enterprise_linux:6::workstation |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
libtiff-staticRed Hat:enterprise_linux:6::workstation |
before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-5581 is a medium vulnerability (CVSS 6.8) in Libtiff, published December 16, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.25%, the 91st percentile. Fixed in tiff 4.0.2-1.
References
exchange.xforce.ibmcloud.com/vulnerabilities/80339
debian.org/security/2012/dsa-2589
securityfocus.com/bid/56715
lists.opensuse.org/opensuse-updates/2013-01/msg00076.html
secunia.com/advisories/51491
ubuntu.com/usn/USN-1655-1
Show 23 moreShow less
bugzilla.redhat.com/show_bug.cgi?id=867235
openwall.com/lists/oss-security/2012/11/28/1
rhn.redhat.com/errata/RHSA-2012-1590.html
nvd.nist.gov/vuln/detail/CVE-2012-5581
access.redhat.com/errata/RHSA-2012:1590
access.redhat.com/security/cve/CVE-2012-5581
github.com/advisories/GHSA-jvhr-577x-xxvq
security-tracker.debian.org/tracker/CVE-2012-5581
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=837577
bugzilla.redhat.com/show_bug.cgi?id=860198
bugzilla.redhat.com/show_bug.cgi?id=871700
security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_1590.json
access.redhat.com/security/cve/CVE-2012-3401
cve.org/CVERecord?id=CVE-2012-3401
nvd.nist.gov/vuln/detail/CVE-2012-3401
access.redhat.com/security/cve/CVE-2012-4447
cve.org/CVERecord?id=CVE-2012-4447
nvd.nist.gov/vuln/detail/CVE-2012-4447
access.redhat.com/security/cve/CVE-2012-4564
cve.org/CVERecord?id=CVE-2012-4564
nvd.nist.gov/vuln/detail/CVE-2012-4564
cve.org/CVERecord?id=CVE-2012-5581