An issue was discovered in Artifex Ghostscript before 10.03.1. There is path traversal (via a crafted PostScript document) to arbitrary files if the current directory is in the permitted paths. For example, there can be a transformation of ../../foo to ./../../foo and this will grant access if ./ is permitted.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"artifex:ghostscript": [
"< 10.03.1"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-33870",
"id": "CVE-2024-33870",
"imported": "2026-11-21T07:19:18.295Z",
"modified": "2026-06-17T07:32:28.517Z",
"published": "2024-07-03T19:15:03.867Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-33870"
}
]
}