What’s Vulnerable › Vulnerabilities
CVE-2018-5360
- Severity: high (CVSS 8.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-01-14 · updated 2026-06-17
- Weakness: CWE-125
Description
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.
Affected products
- GraphicsMagick: 1.3.27
- libtiff: before 4.0.6 — fixed in 4.0.6
How to fix
Upgrade to a fixed version: libtiff 4.0.6. Check the vendor advisory for mitigations.
References
- http://bugzilla.maptools.org/show_bug.cgi?id=2500
- https://gitlab.com/libtiff/libtiff/commit/739dcd28a061738b317c1e9f91029d9cbc157159
- https://sourceforge.net/p/graphicsmagick/bugs/540/
- http://bugzilla.maptools.org/show_bug.cgi?id=2500
- https://gitlab.com/libtiff/libtiff/commit/739dcd28a061738b317c1e9f91029d9cbc157159
- https://sourceforge.net/p/graphicsmagick/bugs/540/
Get alerted when CVE-2018-5360 or the next vulnerability affects your stack