CVE-2018-16140 Memory corruption in n/a
A buffer underwrite in fig2dev allows attackers to execute arbitrary code via a crafted .fig file, impacting users of this image conversion tool.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-16140?
CVE-2018-16140 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 30 Aug 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A buffer underwrite vulnerability in get_line() (read.c) in fig2dev 3.2.7a allows an attacker to write prior to the beginning of the buffer via a crafted .fig file.
Weakness: CWE-787
Which versions are affected by CVE-2018-16140?
It affects 2 products.
Linux distribution packages (3)
transfig SUSE:Linux Enterprise Workstation Extension 15 | All versions | 3.2.6a-4.3.51 |
transfig openSUSE:Leap 15.0 | All versions | 3.2.6a-lp151.4.3.1 |
transfig openSUSE:Leap 15.1 | All versions | 3.2.6a-lp151.4.3.1 |
Products include Canonical Ubuntu Linux, Fig2dev Project Fig2dev.
How do I fix CVE-2018-16140?
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-16140 being exploited?
There is no known exploitation of CVE-2018-16140 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-16140, GHSA-8j2g-wgpq-4f6c, MGASA-2019-0064, SUSE-SU-2019:1291-1, UBUNTU-CVE-2018-16140, USN-3760-1 and 1 more.