# CVE-2024-29511: Artifex Ghostscript before 10.03.1, when Tesseract is used for OCR, has a directory traversal issue that allows arbitrary file reading (and…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-01)
- Published: 2024-07-03T00:00:00.000Z
- Modified: 2026-06-17T07:22:53.943Z
- Weaknesses: CWE-489
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

Artifex Ghostscript before 10.03.1, when Tesseract is used for OCR, has a directory traversal issue that allows arbitrary file reading (and writing of error messages to arbitrary files) via OCRLanguage. For example, exploitation can use debug_file /tmp/out and user_patterns_file /etc/passwd.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- artifex afpl_ghostscript: before 10.03.1
- artifex ghostscript: before 10.03.1

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=707510> (issue-tracking)
- <https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=3d4cfdc1a44> (broken-link)
- <https://www.openwall.com/lists/oss-security/2024/07/03/7> (mailing-list)

## Sources

- CVE List: [CVE-2024-29511](https://www.cve.org/CVERecord?id=CVE-2024-29511), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-29511](https://nvd.nist.gov/vuln/detail/CVE-2024-29511), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-29511 · Whole record: https://cve.day/CVE-2024-29511.json · Rebuilt by cve.day 2026-11-25T22:58:42.495Z
