The set_text_distance function in devices/vector/gdevpdts.c in the pdfwrite component in Artifex Ghostscript through 9.22 does not prevent overflows in text-positioning calculation, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PDF document.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2018:2918 | third party advisory vendor advisory |
https://security.gentoo.org/glsa/201811-12 | third party advisory vendor advisory |
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=39b1e54b2968620723bf32e96764c88797714879 | |
https://lists.debian.org/debian-lts-announce/2018/04/msg00028.html | third party advisory mailing list |
https://usn.ubuntu.com/3636-1/ | third party advisory vendor advisory |
https://bugs.ghostscript.com/show_bug.cgi?id=699255 | issue tracking vendor advisory |
http://www.securitytracker.com/id/1040729 | vdb entry third party advisory |