Buffer overflow in Gnuplot
CVE-2018-19490
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.018, 78.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gnuplot — versions 5.2.5
- Debian Linux — versions 8.0
- openSUSE Leap — versions 15.0
Weakness classification (CWE)
References
- sourceforge.net/p/gnuplot/bugs/2093/ (Exploit, Third Party Advisory)
- sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd… (Patch, Third Party Advisory)
- [debian-lts-announce] 20181126 [SECURITY] [DLA 1597-1] gnuplot security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20181125 [SECURITY] [DLA 1595-1] gnuplot5 security update (mailing-list, Mailing List, Third Party Advisory)
- openSUSE-SU-2019:1216 (vendor-advisory, Mailing List, Third Party Advisory)
- USN-4541-1 (vendor-advisory)