CVE-2018-16140
CVE-2018-16140 is a high-severity vulnerability in Fig2dev Project Fig2dev with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 6.8
- EPSS exploit prediction: 1% (69th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Fig2dev Project Fig2dev
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2018-16140?
- 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.
- How severe is CVE-2018-16140?
- CVE-2018-16140 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2018-16140 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (69th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-16140?
- CVE-2018-16140 primarily affects Fig2dev Project Fig2dev. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2018-16140?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-16140 published?
- CVE-2018-16140 was published on 2018-08-30 and last updated on 2026-06-17.
References
- https://lists.debian.org/debian-lts-announce/2020/01/msg00018.html
- https://sourceforge.net/p/mcj/tickets/28/
- https://usn.ubuntu.com/3760-1/
Affected products (3)
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:a:fig2dev_project:fig2dev:3.2.7a:*:*:*:*:*:*:*
More vulnerabilities in Fig2dev Project Fig2dev
- CVE-2025-46397 — High (CVSS 7.8): A flaw was found in xfig. This vulnerability allows possible code execution via local input manipulation via…
- CVE-2021-3561 — High (CVSS 7.1): An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects() could allow an attacker…
- CVE-2025-31164 — Medium (CVSS 6.6): heap-buffer overflow in fig2dev in version 3.2.9a allows an attacker to availability via local input manipulation…
- CVE-2025-31163 — Medium (CVSS 6.6): Segmentation fault in fig2dev in version 3.2.9a allows an attacker to availability via local input manipulation…
- CVE-2025-31162 — Medium (CVSS 6.6): Floating point exception in fig2dev in version 3.2.9a allows an attacker to availability via local input manipulation…
- CVE-2025-46400 — Medium (CVSS 5.5): In xfig diagramming tool, a segmentation fault while running fig2dev allows an attacker to availability via local input…
All CVEs affecting Fig2dev Project Fig2dev →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…