The Ins_IP function in base/ttinterp.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact via a crafted document.
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 |
---|---|
https://security.gentoo.org/glsa/201811-12 | third party advisory vendor advisory |
https://bugs.ghostscript.com/show_bug.cgi?id=698026 | third party advisory issue tracking exploit |
http://www.debian.org/security/2017/dsa-3986 | third party advisory vendor advisory |
http://www.securityfocus.com/bid/99979 | third party advisory vdb entry |
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=98f6da60b9d463c617e631fc254cf6d66f2e8e3c |