Buffer Overflow Affecting ghostscript-tools-dvipdf package, versions <0:9.27-16.el8_10


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-GHOSTSCRIPTTOOLSDVIPDF-10043149
  • published6 May 2025
  • disclosed30 Apr 2025

Introduced: 30 Apr 2025

NewCVE-2024-46952  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 ghostscript-tools-dvipdf to version 0:9.27-16.el8_10 or higher.
This issue was patched in ALSA-2025:4362.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript-tools-dvipdf package and not the ghostscript-tools-dvipdf package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

An issue was discovered in pdf/pdf_xref.c in Artifex Ghostscript before 10.04.0. There is a buffer overflow during handling of a PDF XRef stream (related to W array values).

CVSS Base Scores

version 3.1