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.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-15900.json"
[
{
"target": {
"file": "psi/zstring.c",
"function": "search_impl"
},
"digest": {
"length": 988.0,
"function_hash": "46940119944633808988474283792764943994"
},
"signature_type": "Function",
"id": "CVE-2020-15900-2b0aa55f",
"source": "https://github.com/artifexsoftware/ghostpdl/commit/5d499272b95a6b890a1397e11d20937de000d31b",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "psi/zstring.c"
},
"digest": {
"line_hashes": [
"190536486911980564259186184284028251322",
"310639197693366512344773929327924035765",
"39712407557047782312763705291186047712",
"207635925999652990285057282992758349798",
"285190544700574057999012646783096917780",
"76464664580891842030516054201090584625",
"100906624819924311054212833575538464718",
"310528718498703024283454547331776211651",
"171002816041803318278104589197268229569",
"288390351824469318354059772346635214554"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2020-15900-a3bb7899",
"source": "https://github.com/artifexsoftware/ghostpdl/commit/5d499272b95a6b890a1397e11d20937de000d31b",
"deprecated": false,
"signature_version": "v1"
}
]