Use-after-free vulnerability in Ghostscript 9.20 might allow remote attackers to execute arbitrary code via vectors related to a reference leak in .setdevice.
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://www.debian.org/security/2016/dsa-3691 | vendor advisory |
http://www.securityfocus.com/bid/95336 | third party advisory vdb entry |
http://rhn.redhat.com/errata/RHSA-2017-0013.html | vendor advisory |
https://bugs.ghostscript.com/show_bug.cgi?id=697179 | patch issue tracking |
http://www.openwall.com/lists/oss-security/2016/10/05/15 | patch mailing list third party advisory |
https://security.gentoo.org/glsa/201702-31 | vendor advisory |