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


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.26% (19th 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-UBUNTU1604-GHOSTSCRIPT-8601641
  • published9 Jul 2025
  • disclosed9 Jan 2025

Introduced: 9 Jan 2025

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

How to fix?

Upgrade Ubuntu:16.04 ghostscript to version 9.26~dfsg+0-0ubuntu0.16.04.14+esm9 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:16.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