cve.bz

CVE-2018-19491

7.8 highExploit referenceEPSS 1.8%Fix available

High (7.8). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-19491 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-19491?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-19491?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-19491 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnuplot:gnuplot5.2.5
debian:debian_linux8.0
opensuse:leap15.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8gnuplot4.6.6-2+deb8u1DLA-1597-1
Debian8gnuplot55.0.0~rc+dfsg2-1+deb8u1DLA-1595-1
Debian12, 13, 14gnuplot5.4.0+dfsg1-1DEBIAN-CVE-2018-19491
Ubuntu16.04:LTSgnuplot4.6.6-3ubuntu0.1UBUNTU-CVE-2018-19491 USN-4541-1
Ubuntu16.04:LTSgnuplot5no fix listedUBUNTU-CVE-2018-19491
UbuntuPro:14.04:LTSgnuplot4.6.4-2ubuntu0.1~esm1UBUNTU-CVE-2018-19491 USN-7589-1
UbuntuPro:16.04:LTSgnuplot4.6.6-3ubuntu0.1+esm1USN-7589-1
UbuntuPro:18.04:LTSgnuplot5.2.2+dfsg1-2ubuntu1+esm1UBUNTU-CVE-2018-19491 USN-7589-1
UbuntuPro:20.04:LTSgnuplot5.2.8+dfsg1-2ubuntu0.1~esm1USN-7589-1
SUSELinux Enterprise Module for Server Applications 15gnuplot5.2.2-3.3.29SUSE-SU-2019:0904-1
SUSELinux Enterprise Server 12 SP4, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 1 moregnuplot4.6.5-3.3.74SUSE-SU-2020:1660-1
openSUSELeap 15.0gnuplot5.2.2-lp150.3.3.1openSUSE-SU-2019:1216-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat's statement

Gnuplot allows for trivial execution of arbitrary commands from within gnuplot files by design. As such, gnuplot files should be considered as inherently dangerous and users should only execute files from trusted sources.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5gnuplotNot affected
Red Hat Enterprise Linux 6gnuplotNot affected
Red Hat Enterprise Linux 7gnuplotNot affected
Red Hat Enterprise Linux 8gnuplotNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-19491.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON