Integer Overflow or Wraparound Affecting libgs package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.05% (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-CENTOS8-LIBGS-8796639
  • published28 Feb 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?

There is no fixed version for Centos:8 libgs.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgs package and not the libgs package as distributed by Centos. See How to fix? for Centos:8 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