Every CVESearch/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

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.

What does this mean?
Severity
6.8 MediumCVSS 2.0, NVD
Exploit chance
4.25%EPSS, 91st percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
4.0.2-1tiff +27 more

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.

Exploit likelihood

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

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

What each source reports

NVD Score used6.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 ListNo 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-5468No 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-xxvqNo 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
OSVNo 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-5581No 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

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.

References

Show 23 moreShow less
MoveEnter Open