cve.bz

CVE-2024-29508 artifex ghostscript: Heap-based Buffer Overflow

3.3 lowEPSS 0.4%

Low (3.3) in artifex ghostscript. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
Artifex Ghostscript before 10.03.0 has a heap-based pointer disclosure (observable in a constructed BaseFont name) in the function pdf_base_font_alloc.

Severity

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-29508 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-29508?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-29508?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-29508 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
artifex:ghostscriptbefore 10.03.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ghostscript9.53.3~dfsg-7+deb11u8DLA-3931-1
Debian12ghostscript10.0.0~dfsg-11+deb12u5DEBIAN-CVE-2024-29508 DSA-5760-1
Debian13, 14ghostscript10.03.0~dfsg-1DEBIAN-CVE-2024-29508
Ubuntu20.04:LTSghostscript9.50~dfsg-5ubuntu4.13UBUNTU-CVE-2024-29508 USN-6897-1
Ubuntu22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.9UBUNTU-CVE-2024-29508 USN-6897-1 USN-7623-1
Ubuntu24.04:LTSghostscript10.02.1~dfsg1-0ubuntu7.3UBUNTU-CVE-2024-29508 USN-6897-1 USN-7623-1
UbuntuPro:16.04:LTSghostscript9.26~dfsg+0-0ubuntu0.16.04.14+esm9UBUNTU-CVE-2024-29508 USN-7623-1
UbuntuPro:18.04:LTSghostscript9.26~dfsg+0-0ubuntu0.18.04.18+esm4UBUNTU-CVE-2024-29508 USN-7623-1
UbuntuPro:20.04:LTSghostscript9.50~dfsg-5ubuntu4.15+esm1USN-7623-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Basesystem 15 SP6ghostscript9.52-150000.197.1SUSE-SU-2024:2627-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5ghostscript9.52-23.83.1SUSE-SU-2024:2547-1
openSUSELeap 15.5, Leap 15.6ghostscript9.52-150000.197.1SUSE-SU-2024:2627-1
Alpaquita23ghostscriptno fix listedBELL-CVE-2024-29508
Alpaquitastreamghostscript10.03.1-r0BELL-CVE-2024-29508

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The vulnerability in Ghostscript’s pdf_base_font_alloc function represents a moderate severity issue rather than a important one due to the nature of the exposed information. While the hexadecimal pointer representation of the BaseFont name can be read from the output file, it does not directly reveal sensitive data such as user credentials or confidential content. Instead, the pointer value may offer insights into the memory layout or internal data structures, which, although potentially useful for further exploitation, requires additional steps and context to leverage effectively.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10ghostscriptNot affected
Red Hat Enterprise Linux 6ghostscriptOut of support scope
Red Hat Enterprise Linux 7ghostscriptOut of support scope
Red Hat Enterprise Linux 8ghostscriptNot affected
Red Hat Enterprise Linux 8gimp:flatpak/ghostscriptNot affected
Red Hat Enterprise Linux 9ghostscriptWill 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-29508.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON