CVSS 3.1
5.4 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:LMedium (5.4) in artifex ghostscript. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:LExplain CVE-2024-29507 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-29507?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-29507?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-29507 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| artifex:ghostscript | before 10.03.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | ghostscript | 10.0.0~dfsg-11+deb12u5 | DEBIAN-CVE-2024-29507 DSA-5760-1 |
| Debian | 13, 14 | ghostscript | 10.03.0~dfsg-1 | DEBIAN-CVE-2024-29507 |
| Ubuntu | 20.04:LTS | ghostscript | 9.50~dfsg-5ubuntu4.13 | USN-6897-1 |
| Ubuntu | 22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.9 | USN-6897-1 |
| Ubuntu | 24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.3 | UBUNTU-CVE-2024-29507 USN-6897-1 |
| Alpaquita | 23 | ghostscript | no fix listed | BELL-CVE-2024-29507 |
| Alpaquita | stream | ghostscript | 10.03.1-r0 | BELL-CVE-2024-29507 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.
Red Hat rates this Moderate.
The buffer overflow vulnerability in Ghostscript, while serious, is categorized as moderate severity due to its limited impact vector and exploitation complexity. The flaw involves unchecked copying of data into a buffer via memcpy when handling the cidfsubstpath and cidfsubstfont parameters. Although this can lead to a stack buffer overflow, resulting in potential denial of service or unexpected behavior, the exploitability is constrained by specific conditions under which the parameters must be set. Furthermore, successful exploitation requires the attacker to have control over the input parameters and the environment in which Ghostscript operates.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | ghostscript | Not affected | |
| Red Hat Enterprise Linux 6 | ghostscript | Out of support scope | |
| Red Hat Enterprise Linux 7 | ghostscript | Out of support scope | |
| Red Hat Enterprise Linux 8 | ghostscript | Not affected | |
| Red Hat Enterprise Linux 8 | gimp:flatpak/ghostscript | Not affected | |
| Red Hat Enterprise Linux 9 | ghostscript | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-29507.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).