Heap-based Buffer Overflow Affecting ghostscript package, versions <9.26~dfsg+0-0ubuntu0.18.04.18+esm4


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.32% (24th 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-UBUNTU1804-GHOSTSCRIPT-8601630
  • published9 Jul 2025
  • disclosed9 Jan 2025

Introduced: 9 Jan 2025

CVE-2024-56826  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 ghostscript to version 9.26~dfsg+0-0ubuntu0.18.04.18+esm4 or higher.

NVD Description

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

A flaw was found in the OpenJPEG project. A heap buffer overflow condition may be triggered when certain options are specified while using the opj_decompress utility. This can lead to an application crash or other undefined behavior.

CVSS Base Scores

version 3.1