CVE-2018-18557 in Canonical Ubuntu Linux and 2 more products
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-bo...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 18.10 |
| Debian | Debian Linux | 8.0 9.0 |
| Libtiff | Libtiff | 4.0.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-18557 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-158092-H |
| CVSS 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 | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
{ "executive_summary": "A critical vulnerability in LibTIFF versions 3.9.3 through 4.0.9, when JBIG is enabled, allows for an out-of-bounds write due to improper handling of JBIG decoding buffer sizes.", "attack_vector_detail": "An attacker can exploit this vulnerability by crafting a specially crafted TIFF file with malicious JBIG data. When this file is processed by an application using the affected LibTIFF versions, it can lead to arbitrary code execution or a denial of service.", "affected_components": ["LibTIFF 3.9.3", "LibTIFF 3.9.4", "LibTIFF 3.9.5", "LibTIFF 3.9.6", "LibTIFF 3.9.7", "LibTIFF 4.0.0alpha4", "LibTIFF 4.0.0alpha5", "LibTIFF 4.0.0alpha6", "LibTIFF 4.0.0beta7", "LibTIFF 4.0.0", "LibTIFF 4.0.1", "LibTIFF 4
Questions
What is CVE-2018-18557?
{ "executive_summary": "A critical vulnerability in LibTIFF versions 3.9.3 through 4.0.9, when JBIG is enabled, allows for an out-of-bounds write due to improper handling of JBIG decoding buffer sizes.", "attack_vector_detail": "An attacker can exploit this vulnerability by crafting a specially crafted TIFF file with malicious JBIG data. When this file is processed by an application using the affected LibTIFF versions, it can lead to arbitrary code execution or a denial of service.", "affe
What is the CVSS score for CVE-2018-18557?
CVE-2018-18557 has CVSS 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 15.0%.
Is CVE-2018-18557 actively exploited?
Public exploit available for CVE-2018-18557. Exploitation risk elevated.
How do I remediate CVE-2018-18557?
Apply vendor patches for CVE-2018-18557. Monitor Canonical, Debian advisories.
What systems are affected by CVE-2018-18557?
CVE-2018-18557 affects Canonical Ubuntu Linux; Debian Debian Linux; Libtiff Libtiff.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.