CVE-2002-0363: ghostscript before 6.53 allows attackers to execute arbitrary commands by using .locksafe or .setsafe to reset
CVE-2002-0363 is a high-severity flaw (CVSS 7.5) affecting ghostscript. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
ghostscript before 6.53 allows attackers to execute arbitrary commands by using .locksafe or .setsafe to reset the current pagedevice.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 2.1% (top 18%) |
| CISA exploited list | No |
| Published | 2002-05-29 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2002-0363?
ghostscript: upgrade to newer than 6.53. Exact commands for each OS are on this page.
Is CVE-2002-0363 being exploited?
CVE-2002-0363 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2002-0363 affect?
CVE-2002-0363 affects ghostscript. Severity is high (CVSS 7.5). ghostscript before 6.53 allows attackers to execute arbitrary commands by using .locksafe or .setsafe to reset the current pagedevice.
How urgent is CVE-2002-0363?
Priority 47/100. High severity
Software pages
Related CVEs
- CVE-2023-46751 HIGH 7.5 UPGRADE An issue was discovered in the function gdev_prn_open_printer_seekable() in Artifex Ghostscript through 10.02.
- CVE-2021-45949 MEDIUM 5.5 UPGRADE MITIGATE Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from
- CVE-2023-36664 HIGH 7.8 UPGRADE MITIGATE Artifex Ghostscript before 10.01.2 mishandles permission validation for pipe devices (with the %pipe% prefix o
- CVE-2023-38559 MEDIUM 5.5 UPGRADE MITIGATE A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript
- CVE-2025-59800 MEDIUM 4.3 UPGRADE In Artifex Ghostscript through 10.05.1, ocr_begin_page in devices/gdevpdfocr.c has an integer overflow that le