CVEfocus › CVE database › CVE-2018-12900

CVE-2018-12900

CVSS 8.8 HighEPSS 24.8% (higher than 98% of CVEs)Published 2018-06-26Updated 2024-08-05Assigner: mitre

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

What to do

Likely to be exploited: EPSS gives a 25% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

32Fixed
4Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04tiffFixed4.0.9-5ubuntu0.2UBUNTU-CVE-2018-12900
Ubuntu 16.04tiffFixed4.0.6-1ubuntu0.6UBUNTU-CVE-2018-12900
Ubuntu 14.04tiffFixed4.0.3-7ubuntu0.11UBUNTU-CVE-2018-12900
Debian 14tiffFixed4.0.10-4DEBIAN-CVE-2018-12900
Debian 13tiffFixed4.0.10-4DEBIAN-CVE-2018-12900
Debian 12tiffFixed4.0.10-4DEBIAN-CVE-2018-12900
Red Hat Enterprise Linux 8libtiffFixed0:4.0.9-15.el8RHSA-2019:3419
Red Hat Enterprise Linux 8libtiff-develFixed0:4.0.9-15.el8RHSA-2019:3419
Red Hat Enterprise Linux 8libtiff-toolsFixed0:4.0.9-15.el8RHSA-2019:3419
Red Hat Enterprise Linux 7compat-libtiff3Not affected
Red Hat Enterprise Linux 7libtiffFixed0:4.0.3-32.el7RHSA-2019:2053
Red Hat Enterprise Linux 7libtiff-develFixed0:4.0.3-32.el7RHSA-2019:2053
Red Hat Enterprise Linux 7libtiff-staticFixed0:4.0.3-32.el7RHSA-2019:2053
Red Hat Enterprise Linux 7libtiff-toolsFixed0:4.0.3-32.el7RHSA-2019:2053
Red Hat Enterprise Linux 6libtiffWill not fix
Will not fix
Red Hat Enterprise Linux 6libtiff-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libtiff-staticWill not fix
Will not fix
Red Hat Enterprise Linux 5libtiffWill not fix
Will not fix
Alpine Linux 3.24tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.23tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.22tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.21tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.20tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.19tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.18tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.17tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.16tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.15tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.14tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.13tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.12tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.11tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.10tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.9tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.8tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.7tiffFixed4.0.10-r0ALPINE-CVE-2018-12900
Alpine Linux 3.6tiffFixed4.0.10-r0ALPINE-CVE-2018-12900

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.