CVE-2018-18557
A public proof of concept exists; no exploitation attested.
- Published2018-10-22
- WeaknessCWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 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 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.
Timeline
dates in UTC- 2018-10-25Exploit-DB entryExploit-DB
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2018-18557?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2018-18557?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.0 | = 4.0.9 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 14.4 | = 14.04 | no fix published | NVD |
| 16.4 | = 16.04 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
| 18.10 | = 18.10 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libtiffRed Hat:enterprise_linux:7::workstationall versions · fixed in 0:4.0.3-32.el7and 4 other packages
- libtiffRed Hat:enterprise_linux:7::serverall versions · fixed in 0:4.0.3-32.el7and 4 other packages
- libtiffRed Hat:enterprise_linux:7::computenodeall versions · fixed in 0:4.0.3-32.el7and 4 other packages
- libtiffRed Hat:enterprise_linux:7::clientall versions · fixed in 0:4.0.3-32.el7and 4 other packages
- libtiffMageia:6all versions · fixed in 4.0.9-1.9.mga6
- tiffUbuntu:18.04:LTSall versions · fixed in 4.0.9-5ubuntu0.1
- tiffUbuntu:16.04:LTSall versions · fixed in 4.0.6-1ubuntu0.5
- tiffUbuntu:14.04:LTSall versions · fixed in 4.0.3-7ubuntu0.10
37 more package ranges on OSV.dev
Vendor advisories
libtiff: Out-of-bounds write in tif_jbig.c
Red Hat Security Advisory: libtiff security update
Fix
- Vendor fix Red Hat Product Security RHSA-2019:2053 · 76 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 All running applications linked against libtiff must be restarted for this update to take effect.
Detection
read 2026-11-02 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.08.8read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score15.0 %read 2026-11-02
- Exploit-DBdetectionread 2026-11-02
- OSVaffected packages—
Identifiers
- EUVD-2018-10277same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- DLA-1557-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4349-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2018-0493advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2024:11461-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2019:2053advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2018:3911-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:3911-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:3925-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-3864-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2018-10-22
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2018-18557?
Is CVE-2018-18557 actively exploited?
What is the CVSS score for CVE-2018-18557?
Running libtiff? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0