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.
https://usn.ubuntu.com/4541-1/
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd949/
https://sourceforge.net/p/gnuplot/bugs/2094/
https://lists.debian.org/debian-lts-announce/2018/11/msg00035.html
https://lists.debian.org/debian-lts-announce/2018/11/msg00031.html
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00066.html