CVE-2018-12900 in the critical feed json
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…
published 8y ago modified 4mo ago also EUVD-2018-4853
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 24.8%
- EPSS 24.8% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- tiff Debian 14, Debian 13, Debian 12 4.0.10-4
debian advisories DEBIAN-CVE-2018-12900
- tiff Ubuntu 14.04 LTS 4.0.3-7ubuntu0.11
- tiff Ubuntu 16.04 LTS 4.0.6-1ubuntu0.6
- tiff Ubuntu 18.04 LTS 4.0.9-5ubuntu0.2
ubuntu advisories UBUNTU-CVE-2018-12900
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libtiff RHEL 8 4.0.9-15.el8
- libtiff-tools RHEL 8 4.0.9-15.el8
- libtiff RHEL 7 4.0.3-32.el7
- libtiff-tools RHEL 7 4.0.3-32.el7
red hat advisories RHSA-2019:3419RHSA-2019:2053
- tiff SLES 12 SP4, SLES 12 SP3, SLED 12 SP4 +5 more 4.0.9-44.27.1
- tiff SLE Module for Package Hub 15, SLE Module for Desktop Applications 15, SLE Module for Basesystem 15 4.0.9-5.17.1
- tiff SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 3.8.2-141.169.22.1
suse advisories SUSE-SU-2018:3911-2SUSE-SU-2018:3925-1SUSE-SU-2018:3911-1SUSE-SU-2018:3879-1
- tiff openSUSE Tumbleweed 4.3.0-1.3
opensuse advisories openSUSE-SU-2024:11461-1
- tiff Alpine 3.24, Alpine 3.23, Alpine 3.22 +16 more 4.0.10-r0
alpine advisories ALPINE-CVE-2018-12900
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2018-12900 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-12900 updated cvss 5.3
libtiff: Heap-based buffer overflow in the cpSeparateBufToContigBuf function resulting in a denial of service or possibly code execution
-
Red Hat Enterprise Linux 5 libtiff Red Hat Enterprise Linux 6 libtiffaffected: no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder (v. 8) libtiff-tools 4.0.9-15.el8 Red Hat Enterprise Linux AppStream (v. 8) libtiff 4.0.9-15.el8fixed: vendor fix RHSA-2019:3419
-
Red Hat Enterprise Linux Client (v. 7) libtiff 4.0.3-32.el7 Red Hat Enterprise Linux Client Optional (v. 7) libtiff-tools 4.0.3-32.el7 Red Hat Enterprise Linux ComputeNode (v. 7) libtiff 4.0.3-32.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libtiff-tools 4.0.3-32.el7 Red Hat Enterprise Linux Server (v. 7) libtiff 4.0.3-32.el7 Red Hat Enterprise Linux Server Optional (v. 7) libtiff-tools 4.0.3-32.el7fixed: vendor fix RHSA-2019:2053
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) libtiff 4.0.3-32.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) libtiff-tools 4.0.3-32.el7 -
Red Hat Enterprise Linux 7 compat-libtiff3not affected: vulnerable code not present
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
24.83% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.maptools.org http://bugzilla.maptools.org/show_bug.cgi?id=2798 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
bugzilla.maptools.org
/show_bug.cgi?id=2798
exploit, issue-tracking, third-party-advisory
-
usn.ubuntu.com
/3906-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3906-2/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:2053
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:3419
vendor-advisory
-
debian.org
/security/2020/dsa-4670
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2019/11/msg00027.html
mailing-list
- github.com /Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-12900
Sources
- CVE List CVE-2018-12900
- NVD CVE-2018-12900
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.