CVE-2018-18557 Memory corruption in n/a
An out-of-bounds write in LibTIFF's JBIG decoder allows attackers to execute arbitrary code or cause denial of service when processing malicious images.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-18557?
CVE-2018-18557 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 22 Oct 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
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.
Weakness: CWE-787
Which versions are affected by CVE-2018-18557?
It affects 3 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Libtiff Libtiff.
How do I fix CVE-2018-18557?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-18557 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-18557 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2018-18557, DEBIAN-CVE-2018-18557, GHSA-p963-j6qf-rp28, UBUNTU-CVE-2018-18557.