# CVE-2018-19490: gnuplot: An issue was discovered in datafile.c in Gnuplot 5.2.5

CVE-2018-19490 is fixed in 5 products on 1 platform, first by gnuplot 5.2.2+dfsg1-2ubuntu1+esm1, released July 5, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-19490
- Priority: Routine
- CVSS: n/a (Low)
- EPSS: 0.0177
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 23, 2018

## Description

An issue was discovered in datafile.c in Gnuplot 5.2.5. This issue allows an attacker to conduct a heap-based buffer overflow with an arbitrary amount of data in df_generate_ascii_array_entry. To exploit this vulnerability, an attacker must pass an overlong string as the right bound of the range argument that is passed to the plot function.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gnuplot Ubuntu 18.04.6 LTS (bionic) | 5.2.2+dfsg1-2ubuntu1+esm1 | [gnuplot 5.2.2+dfsg1-2ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-gnuplot-5.2.2-dfsg1-2ubuntu1-esm1.md) | Jul 5, 2023 |
| Linux | gnuplot-data Ubuntu 18.04.6 LTS (bionic) | 5.2.2+dfsg1-2ubuntu1+esm1 | [gnuplot-data 5.2.2+dfsg1-2ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-gnuplot-data-5.2.2-dfsg1-2ubuntu1-esm1.md) | Jul 5, 2023 |
| Linux | gnuplot-nox Ubuntu 18.04.6 LTS (bionic) | 5.2.2+dfsg1-2ubuntu1+esm1 | [gnuplot-nox 5.2.2+dfsg1-2ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-gnuplot-nox-5.2.2-dfsg1-2ubuntu1-esm1.md) | Jul 5, 2023 |
| Linux | gnuplot-qt Ubuntu 18.04.6 LTS (bionic) | 5.2.2+dfsg1-2ubuntu1+esm1 | [gnuplot-qt 5.2.2+dfsg1-2ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-gnuplot-qt-5.2.2-dfsg1-2ubuntu1-esm1.md) | Jul 5, 2023 |
| Linux | gnuplot-x11 Ubuntu 18.04.6 LTS (bionic) | 5.2.2+dfsg1-2ubuntu1+esm1 | [gnuplot-x11 5.2.2+dfsg1-2ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-gnuplot-x11-5.2.2-dfsg1-2ubuntu1-esm1.md) | Jul 5, 2023 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
