# CVE-2024-29511: ghostscript: Artifex Ghostscript before 10.03.1, when Tesseract is used for OCR, has a directory traversal issue that allows arbit...

CVE-2024-29511 is fixed in 20 products on 1 platform, first by ghostscript 9.55.0~dfsg1-0ubuntu5.9, released July 3, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-29511
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0114
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 3, 2024

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ghostscript Debian 13.5 (trixie) | 10.03.0~dfsg-1 | [DEBIAN-CVE-2024-29511](https://patchblox.com/security/data/fix/linux/debian-cve-2024-29511.md) | Jul 3, 2024 |
| Linux | ghostscript Debian 14 | 10.03.0~dfsg-1 | [DEBIAN-CVE-2024-29511](https://patchblox.com/security/data/fix/linux/debian-cve-2024-29511.md) | Jul 3, 2024 |
| Linux | ghostscript Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.9 | [ghostscript 9.55.0~dfsg1-0ubuntu5.9](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ghostscript-9.55.0-dfsg1-0ubuntu5.9.md) | Jul 3, 2024 |
| Linux | ghostscript Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.3 | [ghostscript 10.02.1~dfsg1-0ubuntu7.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ghostscript-10.02.1-dfsg1-0ubuntu7.3.md) | Jul 3, 2024 |
| Linux | ghostscript amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | ghostscript-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | ghostscript-debugsource amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | ghostscript-doc amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | ghostscript-gtk amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | ghostscript-gtk-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | ghostscript-tools-dvipdf amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | ghostscript-tools-fonts amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | ghostscript-tools-printing amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | ghostscript-x Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.9 | [ghostscript-x 9.55.0~dfsg1-0ubuntu5.9](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ghostscript-x-9.55.0-dfsg1-0ubuntu5.9.md) | Jul 3, 2024 |
| Linux | ghostscript-x11 amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | ghostscript-x11-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | libgs amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | libgs-common Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.3 | [libgs-common 10.02.1~dfsg1-0ubuntu7.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs-common-10.02.1-dfsg1-0ubuntu7.3.md) | Jul 3, 2024 |
| Linux | libgs-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | libgs-devel amzn 2023 | 9.56.1-7.amzn2023.0.9 | [ALAS2023-2024-692](https://patchblox.com/security/data/fix/linux/alas2023-2024-692.md) | Aug 1, 2024 |
| Linux | libgs10 Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.3 | [libgs10 10.02.1~dfsg1-0ubuntu7.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs10-10.02.1-dfsg1-0ubuntu7.3.md) | Jul 3, 2024 |
| Linux | libgs10-common Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu7.3 | [libgs10-common 10.02.1~dfsg1-0ubuntu7.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs10-common-10.02.1-dfsg1-0ubuntu7.3.md) | Jul 3, 2024 |
| Linux | libgs9 Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.9 | [libgs9 9.55.0~dfsg1-0ubuntu5.9](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgs9-9.55.0-dfsg1-0ubuntu5.9.md) | Jul 3, 2024 |
| Linux | libgs9-common Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.9 | [libgs9-common 9.55.0~dfsg1-0ubuntu5.9](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgs9-common-9.55.0-dfsg1-0ubuntu5.9.md) | Jul 3, 2024 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
