A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator can allow overriding of file access controls. The ‘rsearch’ calculation for the ‘post’ size resulted in a size that was too large, and could underflow to max uint32_t. This was fixed in commit 5d499272b95a6b890a1397e11d20937de000d31b.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15900
Reference (s):
- https://artifex.com/security-advisories/CVE-2020-15900
- GENTOO:GLSA-202008-20
- URL: https://security.gentoo.org/glsa/202008-20
- http://git.ghostscript.com/?p=ghostpdl.git;a=log
- https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5d499272b95a6b890a1397e11d20937de000d31b