Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "9.51"
},
{
"introduced": "0"
},
{
"last_affected": "9.53.0-rc1"
},
{
"introduced": "0"
},
{
"last_affected": "9.53.0-rc2"
}
]
}