Every CVE Search/ Get API key

CVE-2018-16140

A buffer underwrite vulnerability in get_line() (read.c) in fig2dev 3.2.7a allows an attacker to...

7.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.43%Up 0.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2018-16140
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-16140
Updated
2026-11-02
EUVDEUVD-2018-7995 No score

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.

Record
EUVD-2018-7995
Updated
2026-11-03
GitHub AdvisoriesGHSA-8j2g-wgpq-4f6c 7.8

A buffer underwrite vulnerability in get_line() (read.c) in fig2dev 3.2.7a allows an attacker to...

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.

Record
GHSA-8j2g-wgpq-4f6c
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2018-16140
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-16140 7.8

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.

Record
DEBIAN-CVE-2018-16140
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2018-16140 7.8

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.

Record
UBUNTU-CVE-2018-16140
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2019-0064 No score

Updated transfig packages fix security vulnerability

It was discovered that transfig incorrectly handled certain FIG files. An attacker could possibly use this to execute arbitrary code (CVE-2018-16140).

Record
MGASA-2019-0064
Updated
2026-11-02
OSVopenSUSE-SU-2019:1455-1 No score

Security update for transfig

This update for transfig fixes the following issues:

Security issue fixed:

  • CVE-2018-16140: Fixed a buffer underwrite vulnerability in get_line() in read.c, which allowed an attacker to write prior to the beginning of the buffer via specially crafted .fig file (bsc#1106531)

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:1455-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11472-1 No score

transfig-3.2.8a-5.1 on GA media

These are all security issues fixed in the transfig-3.2.8a-5.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11472-1
Updated
2026-11-02
OSVSUSE-SU-2019:1291-1 No score

Security update for transfig

This update for transfig fixes the following issues:

Security issue fixed:

  • CVE-2018-16140: Fixed a buffer underwrite vulnerability in get_line() in read.c, which allowed an attacker to write prior to the beginning of the buffer via specially crafted .fig file (bsc#1106531)
Record
SUSE-SU-2019:1291-1
Updated
2026-11-02
OSVSUSE-SU-2020:1806-1 No score

Security update for transfig

This update for transfig fixes the following issues:

Security issue fixed:

  • CVE-2019-14275: Fixed stack-based buffer overflow in the calc_arrow function (bsc#1143650).
  • CVE-2018-16140: Fixed a buffer underwrite vulnerability in get_line() in read.c, which allowed an attacker to write prior to the beginning of the buffer via specially crafted .fig file (bsc#1106531)
Record
SUSE-SU-2020:1806-1
Updated
2026-11-02
OSVUSN-3760-1 No score

transfig vulnerability

It was discovered that transfig incorrectly handled certain FIG files. An attacker could possibly use this to execute arbitrary code.

Record
USN-3760-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
fig2dev
Debian:12
before 1:3.2.7a-3
1:3.2.7a-3
fig2dev
Debian:13
before 1:3.2.7a-3
1:3.2.7a-3
fig2dev
Debian:14
before 1:3.2.7a-3
1:3.2.7a-3
transfig
Debian:8
From an advisory covering 3 CVEs
before 1:3.2.5.e-4+deb8u2, plus listed versions
1:3.2.5.e-41:3.2.5.e-4+deb8u1
1:3.2.5.e-4+deb8u2
transfig
Mageia:6
before 3.2.5d-9.2.mga6
3.2.5d-9.2.mga6
transfig
SUSE:Linux Enterprise Workstation Extension 15
before 3.2.6a-4.3.51
3.2.6a-4.3.51
transfig
SUSE:Linux Enterprise Server 12 SP4
From an advisory covering 2 CVEs
before 3.2.5e-2.8.2
3.2.5e-2.8.2
transfig
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 2 CVEs
before 3.2.5e-2.8.2
3.2.5e-2.8.2
transfig
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 2 CVEs
before 3.2.5e-2.8.2
3.2.5e-2.8.2
transfig
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 2 CVEs
before 3.2.5e-2.8.2
3.2.5e-2.8.2
Show 6 moreShow less
Affected packages
PackageAffectedFixed
transfig
Ubuntu:14.04:LTS
before 1:3.2.5.e-1ubuntu1.1, plus listed versions
1:3.2.5.d-3ubuntu11:3.2.5.e-1ubuntu1
1:3.2.5.e-1ubuntu1.1
transfig
Ubuntu:16.04:LTS
before 1:3.2.5.e-5ubuntu0.1, plus listed versions
1:3.2.5.e-41:3.2.5.e-5
1:3.2.5.e-5ubuntu0.1
fig2dev
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
1:3.2.6a-31:3.2.6a-41:3.2.6a-4ubuntu11:3.2.6a-6ubuntu11:3.2.6a-6ubuntu1.11:3.2.6a-6ubuntu1.1+esm1
None known
transfig
openSUSE:Leap 15.0
before 3.2.6a-lp151.4.3.1
3.2.6a-lp151.4.3.1
transfig
openSUSE:Leap 15.1
before 3.2.6a-lp151.4.3.1
3.2.6a-lp151.4.3.1
transfig
openSUSE:Tumbleweed
From an advisory covering 11 CVEs
before 3.2.8a-5.1
3.2.8a-5.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-16140 is a high vulnerability (CVSS 7.8) in Fig2dev Project Fig2dev, published August 29, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.43%, the 73rd percentile. Fixed in fig2dev 1:3.2.7a-3.

References

Show 21 moreShow less
MoveEnter Open