In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=241d91112771a6104de10b3948c3f350d6690c1d | |
https://security.gentoo.org/glsa/201811-12 | third party advisory vendor advisory |
https://usn.ubuntu.com/3768-1/ | third party advisory vendor advisory |
https://access.redhat.com/errata/RHSA-2018:3834 | third party advisory vendor advisory |
https://www.artifex.com/news/ghostscript-security-resolved/ | patch vendor advisory |
https://www.debian.org/security/2018/dsa-4288 | third party advisory vendor advisory |
https://bugs.ghostscript.com/show_bug.cgi?id=699664 | issue tracking permissions required vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/09/msg00015.html | third party advisory mailing list |