CVE-2018-19491: Gnuplot - Buffer Overflow
- Cve: CVE-2018-19491
- Name: Gnuplot - Buffer Overflow
- Description: 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.
- Impact: Attackers can execute arbitrary code remotely, potentially leading to full system compromise or denial of service.
- Remediation: Update to the latest version of Gnuplot where this issue is fixed.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01769
- Epss percentile: 0.787
- Assignee: [email protected]
- Published at: 2018-11-23T17:29:00Z
- Age in days: 2923
- Modified at: 2026-06-17T01:49:22Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-19491
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://sourceforge.net/p/gnuplot/bugs/2094/ | nvd | 2018-11-23 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd949/ | Patch, Third Party Advisory |
| https://sourceforge.net/p/gnuplot/bugs/2094/ | Exploit, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00066.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/11/msg00031.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/11/msg00035.html | Mailing List, Third Party Advisory |
| https://usn.ubuntu.com/4541-1/ |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| gnuplot:gnuplot | = 5.2.5 | /v1/products/gnuplot/gnuplot |
| debian:debian_linux | = 8.0 | /v1/products/debian/debian_linux |
| opensuse:leap | = 15.0 | /v1/products/opensuse/leap |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-11-23
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports