Buffer overflow in Gnuplot - CVE-2020-25412

 

Buffer overflow in Gnuplot - CVE-2020-25412

Published: September 16, 2020 / Updated: September 24, 2020


Vulnerability identifier: #VU47052
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-25412
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the com_line() function in command.c. A remote attacker can trick the victim to open a specially crafted file with the application, trigger memory corruption and execute arbitrary code on the system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Gnuplot
Ubuntu
gnuplot (Ubuntu package)

How to mitigate CVE-2020-25412

Install update from vendor's website.

gnuplot (Ubuntu package) - addressed in versions 4.6.4-2ubuntu0.1~esm1, 4.6.6-3ubuntu0.1+esm1, 5.2.2+dfsg1-2ubuntu1+esm1, 5.2.8+dfsg1-2ubuntu0.1~esm1

External References

Related Security Bulletins