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).
{
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "9.52"
},
{
"last_affected": "9.52.1"
}
],
"cpes": [
"cpe:2.3:a:artifex:ghostscript:9.52.1:*:*:*:*:*:*:*",
"cpe:2.3:a:artifex:ghostscript:9.52:*:*:*:*:*:*:*"
],
"source": "CPE_FIELD",
"vendor_product": "artifex:ghostscript"
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "9.51"
},
{
"last_affected": "9.53.0-rc1"
},
{
"last_affected": "9.53.0-rc2"
}
],
"cpe": [
"cpe:2.3:a:artifex:ghostscript:9.51:*:*:*:*:*:*:*",
"cpe:2.3:a:artifex:ghostscript:9.53.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:artifex:ghostscript:9.53.0:rc2:*:*:*:*:*:*"
],
"source": "CPE_FIELD"
}