{"id":"CVE-2024-29511","aliases":["BELL-CVE-2024-29511","DEBIAN-CVE-2024-29511","EUVD-2024-26514","GHSA-g9m4-vfq7-w439","OESA-2026-2771","ROOT-OS-DEBIAN-12-CVE-2024-29511","UBUNTU-CVE-2024-29511","USN-6897-1"],"status":"published","title":"Artifex Ghostscript before 10.03.1, when Tesseract is used for OCR, has a directory traversal...","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.01137,"percentile":0.66963,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-489"],"published":"2024-07-03T00:00:00Z","modified":"2026-11-02T12:02:06Z","fixes":[{"ecosystem":"Alpaquita:stream","package":"ghostscript","fixed_in":["10.03.1-r0"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ghostscript","fixed_in":["10.03.0~dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ghostscript","fixed_in":["10.03.0~dfsg-1"],"sources":["osv"]},{"ecosystem":"Root:Debian:12","package":"ghostscript","fixed_in":["10.0.0~dfsg-11+deb12u8.aikido.6"],"sources":["osv"]},{"ecosystem":"Root:Debian:12","package":"rootio-ghostscript","fixed_in":["10.0.0~dfsg-11+deb12u8.aikido.6"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"ghostscript","fixed_in":["9.55.0~dfsg1-0ubuntu5.9"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"ghostscript","fixed_in":["10.02.1~dfsg1-0ubuntu7.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpaquita:23","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpaquita:stream","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.0.0-r0"},{"fixed":"10.03.1-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.0.0~dfsg-11","10.0.0~dfsg-11+deb12u1","10.0.0~dfsg-11+deb12u2","10.0.0~dfsg-11+deb12u3","10.0.0~dfsg-11+deb12u4","10.0.0~dfsg-11+deb12u5","10.0.0~dfsg-11+deb12u6","10.0.0~dfsg-11+deb12u7","10.0.0~dfsg-11+deb12u8","10.01.2~dfsg-1","10.02.0~dfsg-1","10.02.0~dfsg-2","10.02.1~dfsg-1","10.02.1~dfsg-2","10.02.1~dfsg-3","10.03.0~dfsg-1","10.03.1~dfsg-1","10.03.1~dfsg-2","10.03.1~dfsg~git20240518-1","10.04.0~dfsg-1","10.04.0~dfsg-2","10.05.0~dfsg-1","10.05.1~dfsg-1","10.05.1~dfsg-2","10.05.1~dfsg-3","10.06.0~dfsg-1","10.06.0~dfsg-2","10.06.0~dfsg-3","10.07.0~dfsg-1","10.07.0~dfsg-2","10.07.1~dfsg-1","10.08.0~dfsg-1","10.08.0~dfsg-2"]},{"source":"osv","ecosystem":"Debian:13","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.03.0~dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.03.0~dfsg-1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP4","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.55.0-23.oe2203sp4"}]}],"bundled":3},{"source":"osv","ecosystem":"Root:Debian:12","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.0.0~dfsg-11+deb12u8.aikido.6"}]}]},{"source":"osv","ecosystem":"Root:Debian:12","package":"rootio-ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.0.0~dfsg-11+deb12u8.aikido.6"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.55.0~dfsg1-0ubuntu5.9"}]}],"versions":["9.54.0~dfsg1-0ubuntu2","9.55.0~dfsg1-0ubuntu4","9.55.0~dfsg1-0ubuntu5","9.55.0~dfsg1-0ubuntu5.1","9.55.0~dfsg1-0ubuntu5.2","9.55.0~dfsg1-0ubuntu5.3","9.55.0~dfsg1-0ubuntu5.4","9.55.0~dfsg1-0ubuntu5.5","9.55.0~dfsg1-0ubuntu5.6","9.55.0~dfsg1-0ubuntu5.7"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.02.1~dfsg1-0ubuntu7.3"}]}],"versions":["10.01.2~dfsg1-0ubuntu2","10.01.2~dfsg1-0ubuntu2.1","10.02.1~dfsg1-0ubuntu1","10.02.1~dfsg1-0ubuntu2","10.02.1~dfsg1-0ubuntu5","10.02.1~dfsg1-0ubuntu6","10.02.1~dfsg1-0ubuntu7","10.02.1~dfsg1-0ubuntu7.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.50~dfsg-5ubuntu4.13"}]}],"versions":["9.27~dfsg+0-0ubuntu3","9.27~dfsg+0-0ubuntu4","9.50~dfsg-5ubuntu1","9.50~dfsg-5ubuntu2","9.50~dfsg-5ubuntu3","9.50~dfsg-5ubuntu4","9.50~dfsg-5ubuntu4.1","9.50~dfsg-5ubuntu4.2","9.50~dfsg-5ubuntu4.3","9.50~dfsg-5ubuntu4.4","9.50~dfsg-5ubuntu4.5","9.50~dfsg-5ubuntu4.6","9.50~dfsg-5ubuntu4.7","9.50~dfsg-5ubuntu4.8","9.50~dfsg-5ubuntu4.9","9.50~dfsg-5ubuntu4.10","9.50~dfsg-5ubuntu4.11","9.50~dfsg-5ubuntu4.12"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.55.0~dfsg1-0ubuntu5.9"}]}],"versions":["9.54.0~dfsg1-0ubuntu2","9.55.0~dfsg1-0ubuntu4","9.55.0~dfsg1-0ubuntu5","9.55.0~dfsg1-0ubuntu5.1","9.55.0~dfsg1-0ubuntu5.2","9.55.0~dfsg1-0ubuntu5.3","9.55.0~dfsg1-0ubuntu5.4","9.55.0~dfsg1-0ubuntu5.5","9.55.0~dfsg1-0ubuntu5.6","9.55.0~dfsg1-0ubuntu5.7"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.02.1~dfsg1-0ubuntu7.3"}]}],"versions":["10.01.2~dfsg1-0ubuntu2","10.01.2~dfsg1-0ubuntu2.1","10.02.1~dfsg1-0ubuntu1","10.02.1~dfsg1-0ubuntu2","10.02.1~dfsg1-0ubuntu5","10.02.1~dfsg1-0ubuntu6","10.02.1~dfsg1-0ubuntu7","10.02.1~dfsg1-0ubuntu7.1"],"bundled":5}],"products":[{"vendor":"artifex","product":"afpl_ghostscript"},{"vendor":"artifex","product":"ghostscript"}],"references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=707510","tags":["x_transferred","Issue Tracking","web"]},{"url":"https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=3d4cfdc1a44","tags":["x_transferred","Broken Link","web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/07/03/7","tags":["x_transferred","Mailing List","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29511","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g9m4-vfq7-w439"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2024-29511","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29511.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-29511","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-2771","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29506","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29509","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-29511","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-29511","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6897-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-29506","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-29507","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-29508","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-29509","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-29511","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.","status":"published","published":"2024-07-03T00:00:00Z","modified":"2024-08-02T01:10:55.453Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-489"],"updated_at":"2026-11-02T14:34:14.985673Z"}],"euvd":[{"id":"EUVD-2024-26514","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.","status":"published","published":"2024-07-03T00:00:00Z","modified":"2024-08-02T01:10:55Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-03T03:50:25.628684Z"}],"ghsa":[{"id":"GHSA-g9m4-vfq7-w439","title":"Artifex Ghostscript before 10.03.1, when Tesseract is used for OCR, has a directory traversal...","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.","status":"published","published":"2024-07-03T21:39:43Z","modified":"2024-07-08T15:33:00Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-489"],"updated_at":"2026-11-02T14:57:39.292896Z"}],"nvd":[{"id":"CVE-2024-29511","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.","status":"published","published":"2024-07-03T19:15:03.43Z","modified":"2026-06-17T07:22:53.943Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-489"],"updated_at":"2026-11-02T14:10:10.545705Z"}],"osv":[{"id":"BELL-CVE-2024-29511","status":"published","published":"2024-07-04T05:57:15.621672Z","modified":"2026-01-26T09:36:32.690757Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:28:19.66992Z"},{"id":"CVE-2024-29511","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.","status":"published","published":"2024-07-03T00:00:00Z","modified":"2026-10-28T02:31:03.253658807Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:40.06138Z"},{"id":"DEBIAN-CVE-2024-29511","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.","status":"published","published":"2024-07-03T19:15:03.43Z","modified":"2026-11-02T12:02:06.048963344Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:42.530184Z"},{"id":"OESA-2026-2771","title":"ghostscript security update","description":"Ghostscript is an interpreter for PostScript™ and Portable Document Format (PDF) files. Ghostscript consists of a PostScript interpreter layer, and a graphics library.\r\n\r\nSecurity Fix(es):\n\nArtifex Ghostscript before 10.03.0 has a stack-based buffer overflow in the pdfi_apply_filter() function via a long PDF filter name.(CVE-2024-29506)\n\nArtifex Ghostscript before 10.03.0 has a heap-based overflow when PDFPassword (e.g., for runpdf) has a \\000 byte in the middle.(CVE-2024-29509)\n\nArtifex 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.(CVE-2024-29511)","status":"published","published":"2026-06-24T11:11:41Z","modified":"2026-08-18T01:21:11.210174686Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:46.449097Z"},{"id":"UBUNTU-CVE-2024-29511","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.","status":"published","published":"2024-07-03T19:15:00Z","modified":"2026-04-22T14:48:23.583955Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T16:54:48.333535Z"},{"id":"ROOT-OS-DEBIAN-12-CVE-2024-29511","title":"CVE-2024-29511 in ghostscript - Patched by Root","description":"Root has patched CVE-2024-29511 in the ghostscript package for Root:Debian:12. Multiple fixed versions available.","status":"published","published":"2026-08-28T06:29:27Z","modified":"2026-08-28T08:45:05.197678515Z","updated_at":"2026-11-02T15:53:30.70924Z"},{"id":"USN-6897-1","title":"ghostscript vulnerabilities","description":"It was discovered that Ghostscript incorrectly handled certain long PDF\nfilter names. An attacker could possibly use this issue to cause\nGhostscript to crash, resulting in a denial of service. This issue only\naffected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-29506)\n\nIt was discovered that Ghostscript incorrectly handled certain API\nparameters. An attacker could possibly use this issue to cause Ghostscript\nto crash, resulting in a denial of service. This issue only affected Ubuntu\n24.04 LTS. (CVE-2024-29507)\n\nIt was discovered that Ghostscript incorrectly handled certain BaseFont\nnames. An attacker could use this issue to cause Ghostscript to crash,\nresulting in a denial of service, or possibly execute arbitrary code.\n(CVE-2024-29508)\n\nIt was discovered that Ghostscript incorrectly handled certain PDF\npasswords that contained NULL bytes. An attacker could use this issue to\ncause Ghostscript to crash, resulting in a denial of service, or possibly\nexecute arbitrary code. This issue only affected Ubuntu 22.04 LTS and\nUbuntu 24.04 LTS. (CVE-2024-29509)\n\nIt was discovered that Ghostscript incorrectly handled certain certain file\npaths when doing OCR. An attacker could use this issue to read arbitrary\nfiles and write error messages to arbitrary files. This issue only affected\nUbuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-29511)\n","status":"published","published":"2024-07-15T11:27:33Z","modified":"2026-04-22T10:49:50.889085Z","updated_at":"2026-11-02T16:58:17.914523Z"}]}}
