Skip to content
Fencer Vulns
high 7.8

CVE-2018-19491 json

An issue was discovered in post.trm in Gnuplot 5.2.5.

published 2018-11-23 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-11180

cvss
7.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 78%
public exploits
0
none known

Summary

An issue was discovered in post.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the PS_options function. This flaw is caused by a missing size check of an argument passed to the "set font" function. This issue occurs when the Gnuplot postscript terminal is used as a backend.

Patch / fix

  • gnuplot Debian 14, Debian 13, Debian 12 5.4.0+dfsg1-1

debian advisories DEBIAN-CVE-2018-19491

  • gnuplot Ubuntu 16.04 LTS 4.6.6-3ubuntu0.1
  • gnuplot Ubuntu Pro 14.04 LTS 4.6.4-2ubuntu0.1~esm1
  • gnuplot Ubuntu Pro 18.04 LTS 5.2.2+dfsg1-2ubuntu1+esm1

ubuntu advisories UBUNTU-CVE-2018-19491

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gnuplot SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +1 more 4.6.5-3.3.74
  • gnuplot SLE Module for Server Applications 15 5.2.2-3.3.29

suse advisories SUSE-SU-2020:1660-1SUSE-SU-2019:0904-1

  • gnuplot openSUSE Leap 15.0 5.2.2-lp150.3.3.1

opensuse advisories openSUSE-SU-2019:1216-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-19491 updated cvss 3.3

gnuplot: buffer overflow with an arbitrary amount of data in the PS_options

  • Red Hat Enterprise Linux 5 gnuplot Red Hat Enterprise Linux 6 gnuplot, emacs-gnuplot, gnuplot-latex, gnuplot-common, gnuplot-minimal, emacs-gnuplot-el Red Hat Enterprise Linux 7 gnuplot, emacs-gnuplot, gnuplot-latex, gnuplot-common, gnuplot-minimal, emacs-gnuplot-el Red Hat Enterprise Linux 8 gnuplot, gnuplot-common
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.77% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • sourceforge.net https://sourceforge.net/p/gnuplot/bugs/2094/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.