Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and interp).
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"artifex:ghostscript": [
">= 9.50, <= 9.54.0"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45949",
"id": "CVE-2021-45949",
"imported": "2026-11-21T07:19:18.289Z",
"modified": "2026-10-08T01:16:31.493Z",
"published": "2022-01-01T00:15:08.413Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-45949"
}
]
}