Every CVE Search/ Get API key

CVE-2012-5581

Stack-based buffer overflow in tif_dir.c in LibTIFF before 4.0.2 allows remote attackers to cause...

6.8 MediumFix available

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

4.25%Down 2.4 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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

Affected packages
PackageAffectedFixed
tiff
Debian:12
before 4.0.2-1
4.0.2-1
tiff
Debian:13
before 4.0.2-1
4.0.2-1
tiff
Debian:14
before 4.0.2-1
4.0.2-1
tiff
Debian: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
libtiff
Red Hat:enterprise_linux:5::client
From an advisory covering 4 CVEs
before 0:3.8.2-18.el5_8
0:3.8.2-18.el5_8
libtiff-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 4 CVEs
before 0:3.8.2-18.el5_8
0:3.8.2-18.el5_8
libtiff
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:3.8.2-18.el5_8
0:3.8.2-18.el5_8
libtiff-debuginfo
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:3.8.2-18.el5_8
0:3.8.2-18.el5_8
libtiff-devel
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 4 CVEs
before 0:3.8.2-18.el5_8
0:3.8.2-18.el5_8
libtiff
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:3.8.2-18.el5_8
0:3.8.2-18.el5_8
Show 18 moreShow less
Affected packages
PackageAffectedFixed
libtiff-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:3.8.2-18.el5_8
0:3.8.2-18.el5_8
libtiff-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 4 CVEs
before 0:3.8.2-18.el5_8
0:3.8.2-18.el5_8
libtiff
Red Hat:enterprise_linux:6::client
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-devel
Red Hat:enterprise_linux:6::client
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-static
Red Hat:enterprise_linux:6::client
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff
Red Hat:enterprise_linux:6::computenode
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-devel
Red Hat:enterprise_linux:6::computenode
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-static
Red Hat:enterprise_linux:6::computenode
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff
Red Hat:enterprise_linux:6::server
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-devel
Red Hat:enterprise_linux:6::server
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-static
Red Hat:enterprise_linux:6::server
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff
Red Hat:enterprise_linux:6::workstation
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-devel
Red Hat:enterprise_linux:6::workstation
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3
libtiff-static
Red Hat:enterprise_linux:6::workstation
From an advisory covering 4 CVEs
before 0:3.9.4-9.el6_3
0:3.9.4-9.el6_3

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 23 moreShow less
MoveEnter Open