Advisory

USN-7623-1

Also known as: CVE-2023-39327, CVE-2024-29508, CVE-2024-56826, CVE-2024-56827, CVE-2025-27832, CVE-2025-27835, CVE-2025-27836, CVE-2025-48708

Summary

ghostscript vulnerabilities

Details

It was discovered that OpenJPEG, vendored in Ghostscript did not correctly
handle large image files. If a user or system were tricked into opening a
specially crafted file, an attacker could possibly use this issue to cause
a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu
18.04 LTS. (CVE-2023-39327) Thomas Rinsma discovered that Ghostscript did
not correctly handle printing certain variables. An attacker could possibly
use this issue to leak sensitive information. This issue only affected
Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2024-29508) It was discovered
that Ghostscript did not correctly handle loading certain libraries. An
attacker could possibly use this issue to execute arbitrary code. This
issue only affected Ubuntu 16.04 LTS. (CVE-2024-33871) It was discovered
that Ghostscript did not correctly handle certain memory operations. An
attacker could possibly use this issue to execute arbitrary code. This
issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2024-56826,
CVE-2024-56827, CVE-2025-27832, CVE-2025-27835, CVE-2025-27836) Vasileios
Flengas discovered that Ghostscript did not correctly handle argument
sanitization. An attacker could possibly use this issue to leak sensitive
information. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS,
Ubuntu 24.04 LTS, Ubuntu 24.10 and Ubuntu 25.04. (CVE-2025-48708)

Severity

Not rated by the source.

Dates

Published
2025-07-08 03:48 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

ghostscript

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 9.55.0~dfsg1-0ubuntu5.12 (ecosystem)

Fixed versions

9.55.0~dfsg1-0ubuntu5.12

Fix

  • Fixed version 9.55.0~dfsg1-0ubuntu5.12
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ghostscript

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 10.02.1~dfsg1-0ubuntu7.7 (ecosystem)

Fixed versions

10.02.1~dfsg1-0ubuntu7.7

Fix

  • Fixed version 10.02.1~dfsg1-0ubuntu7.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences