A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator can allow overriding of file access controls. The 'rsearch' calculation for the 'post' size resulted in a size that was too large, and could underflow to max uint32_t. This was fixed in commit 5d499272b95a6b890a1397e11d20937de000d31b.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:artifex:ghostscript:9.50:*:*:*:*:*:*:*",
"cpe:2.3:a:artifex:ghostscript:9.52:*:*:*:*:*:*:*"
],
"source": "CPE_STRING",
"extracted_events": [
{
"introduced": "9.50"
},
{
"last_affected": "9.50"
},
{
"introduced": "9.52"
},
{
"last_affected": "9.52"
}
],
"vendor_product": "artifex:ghostscript"
},
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
],
"source": "CPE_STRING",
"extracted_events": [
{
"introduced": "20.04"
},
{
"last_affected": "20.04"
}
],
"vendor_product": "canonical:ubuntu_linux"
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*",
"cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*"
],
"source": "CPE_STRING",
"extracted_events": [
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
},
{
"introduced": "15.2"
},
{
"last_affected": "15.2"
}
],
"vendor_product": "opensuse:leap"
}
]
}"2026-07-08T20:29:19Z"
[
{
"signature_type": "Function",
"target": {
"file": "psi/zstring.c",
"function": "search_impl"
},
"deprecated": false,
"source": "https://github.com/artifexsoftware/ghostpdl/commit/5d499272b95a6b890a1397e11d20937de000d31b",
"id": "CVE-2020-15900-2b0aa55f",
"signature_version": "v1",
"digest": {
"function_hash": "46940119944633808988474283792764943994",
"length": 988.0
}
},
{
"signature_type": "Line",
"target": {
"file": "psi/zstring.c"
},
"deprecated": false,
"source": "https://github.com/artifexsoftware/ghostpdl/commit/5d499272b95a6b890a1397e11d20937de000d31b",
"id": "CVE-2020-15900-a3bb7899",
"signature_version": "v1",
"digest": {
"line_hashes": [
"190536486911980564259186184284028251322",
"310639197693366512344773929327924035765",
"39712407557047782312763705291186047712",
"207635925999652990285057282992758349798",
"285190544700574057999012646783096917780",
"76464664580891842030516054201090584625",
"100906624819924311054212833575538464718",
"310528718498703024283454547331776211651",
"171002816041803318278104589197268229569",
"288390351824469318354059772346635214554"
],
"threshold": 0.9
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15900.json"