Integer Overflow or Wraparound Affecting ghostscript-tools-printing package, versions <0:9.54.0-18.el9_6


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.07% (23rd 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-RHEL9-GHOSTSCRIPTTOOLSPRINTING-11949843
  • published16 Aug 2025
  • disclosed10 Nov 2024

Introduced: 10 Nov 2024

CVE-2024-46953  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade RHEL:9 ghostscript-tools-printing to version 0:9.54.0-18.el9_6 or higher.
This issue was patched in RHSA-2025:7422.

NVD Description

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

An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.

CVSS Base Scores

version 3.1