Skip to content
Fencer Vulns
high 8.8

CVE-2018-5360 json

LibTIFF before 4.0.6 mishandles the reading of TIFF files, as demonstrated by a heap-based buffer over-read in the ReadTIFFImage function i…

published 2018-01-14 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17139

cvss
8.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 78%
public exploits
0
none known

Summary

LibTIFF before 4.0.6 mishandles the reading of TIFF files, as demonstrated by a heap-based buffer over-read in the ReadTIFFImage function in coders/tiff.c in GraphicsMagick 1.3.27.

Patch / fix

  • libtiff libtiff 4.0.6
  • tiff Debian 14, Debian 13, Debian 12 4.0.6-3

debian advisories DEBIAN-CVE-2018-5360

  • tiff Ubuntu 14.04 LTS 4.0.3-7ubuntu0.6
  • tiff Ubuntu 16.04 LTS 4.0.6-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2018-5360

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

Vendor 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-5360 updated cvss 3.3

LibTIFF: heap-based buffer over-read in the ReadTIFFImage function in coders/tiff.c

  • Red Hat Enterprise Linux 5 libtiff Red Hat Enterprise Linux 6 libtiff Red Hat Enterprise Linux 7 libtiff, libtiff-tools Red Hat Enterprise Linux 8 libtiff, libtiff-tools
    affected: no fix planned “Will not fix”

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

1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • sourceforge.net https://sourceforge.net/p/graphicsmagick/bugs/540/ referenced PoC, tagged "exploit" by a source, unverified
  • bugzilla.maptools.org http://bugzilla.maptools.org/show_bug.cgi?id=2500 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

References

Sources

Fencer Vulns 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.