UbuntuUpdates.org

Package "ghostscript"

Name: ghostscript

Description:

interpreter for the PostScript language and for PDF

Latest version: 10.02.1~dfsg1-0ubuntu7.10
Release: noble (24.04)
Level: updates
Repository: main
Homepage: https://www.ghostscript.com/

Links


Download "ghostscript"


Other versions of "ghostscript" in Noble

Repository Area Version
base main 10.02.1~dfsg1-0ubuntu7
security main 10.02.1~dfsg1-0ubuntu7.10

Packages in group

Deleted packages are displayed in grey.


Changelog

Version: 10.02.1~dfsg1-0ubuntu7.10 2026-10-21 19:18:06 UTC

ghostscript (10.02.1~dfsg1-0ubuntu7.10) noble-security; urgency=medium

  * SECURITY UPDATE: -dSAFER bypass via use-after-free and heap buffer overflow
    - debian/patches/CVE-2026-101258-1.patch: copy the string returned by a
      procedure data source into global VM so a restore cannot leave a
      dangling pointer in psi/zfproc.c.
    - debian/patches/CVE-2026-101258-2.patch: validate that shading /Function
      array members produce exactly one output in base/gsshade.c.
    - CVE-2026-101258
  * SECURITY UPDATE: stack-based buffer overflow in pdfwrite Type 1 font
    conversion
    - debian/patches/CVE-2026-103226.patch: check there is space on the control
      stack before handling a subroutine call in devices/vector/gdevpsfx.c.
    - CVE-2026-103226
  * SECURITY UPDATE: -dSAFER bypass via missing operand validation in
    .putgstringcopy (LP: #2171528)
    - debian/patches/lp2171528.patch: verify operand types so an error handler
      cannot reach .forceput in Resource/Init/gs_fonts.ps.
    - No CVE number

 -- Charles Cochran Tue, 20 Oct 2026 12:40:15 -0400

Source diff to previous version
2171528 Type 1 font-loader `.forceput` save/restore UAF yields native read/write and controlled dispatch/RCE under `-dSAFER`
CVE-2026-101258 A flaw was found in Ghostscript. When Ghostscript renders a crafted PostScript or EPS document, it can bypass the -dSAFER sandbox and execute arbitra
CVE-2026-103226 A vulnerability was identified in Artifex Ghostscript up to 10.07.0. Affected is the function type1_callsubr of the file devices/vector/gdevpsfx.c of

Version: 10.02.1~dfsg1-0ubuntu7.9 2026-09-21 19:07:50 UTC

ghostscript (10.02.1~dfsg1-0ubuntu7.9) noble-security; urgency=medium

  * SECURITY UPDATE: heap overflow in JPEG 2000 output adapter
    - debian/patches/CVE-2026-39919.patch: OpenJPEG - Fix overreading bytes in
      some conditions in base/sjpx_openjpeg.c.
    - CVE-2026-39919

 -- Marc Deslauriers Fri, 18 Sep 2026 13:45:46 -0400

Source diff to previous version
CVE-2026-39919 Ghostscript before 10.08.0 contains a heap-based buffer overflow vulnerability in the JPEG 2000 output adapter (base/sjpx_openjpeg.c) that allows att

Version: 10.02.1~dfsg1-0ubuntu7.8 2025-09-29 17:07:05 UTC

  ghostscript (10.02.1~dfsg1-0ubuntu7.8) noble-security; urgency=medium

  * SECURITY UPDATE: null pointer deref on file write failure
    - debian/patches/CVE-2025-7462.patch: catch a null file pointer closing
      pdfwrite in devices/vector/gdevpdf.c.
    - CVE-2025-7462
  * SECURITY UPDATE: stack overflow in pdf_write_cmap
    - debian/patches/CVE-2025-59798.patch: use dynamically allocated buffer
      and check return codes in devices/vector/gdevpdtw.c.
    - CVE-2025-59798
  * SECURITY UPDATE: stack overflow in pdfmark_coerce_dest
    - debian/patches/CVE-2025-59799.patch: bounds check some strings in
      devices/vector/gdevpdfm.c.
    - CVE-2025-59799
  * SECURITY UPDATE: heap overflow in ocr_begin_page
    - debian/patches/CVE-2025-59800.patch: fix int overflow in
      devices/gdevpdfocr.c.
    - CVE-2025-59800

 -- Marc Deslauriers <email address hidden> Thu, 25 Sep 2025 12:37:20 -0400

Source diff to previous version
CVE-2025-7462 A vulnerability was found in Artifex GhostPDL up to 3989415a5b8e99b9d1b87cc9902bde9b7cdea145. It has been classified as problematic. This affects the
CVE-2025-59798 Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdevpdtw.c.
CVE-2025-59799 Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfmark_coerce_dest in devices/vector/gdevpdfm.c via a large size value.
CVE-2025-59800 In Artifex Ghostscript through 10.05.1, ocr_begin_page in devices/gdevpdfocr.c has an integer overflow that leads to a heap-based buffer overflow in

Version: 10.02.1~dfsg1-0ubuntu7.7 2025-07-08 09:07:04 UTC

  ghostscript (10.02.1~dfsg1-0ubuntu7.7) noble-security; urgency=medium

  * SECURITY UPDATE: Information Leak
    - debian/patches/CVE-2025-48708.patch: Argument sanitization handle
      '#' as per '='
    - CVE-2025-48708

 -- Bruce Cable <email address hidden> Thu, 03 Jul 2025 15:29:52 +1000

Source diff to previous version
CVE-2025-48708 gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript before 10.05.1 lacks argument sanitization for the # case. A created PDF doc

Version: 10.02.1~dfsg1-0ubuntu7.6 2025-05-01 16:07:06 UTC

  ghostscript (10.02.1~dfsg1-0ubuntu7.6) noble-security; urgency=medium

  * SECURITY UPDATE: directory escape via overlong encodings
    - debian/patches/CVE-2025-46646.patch: handle another set of sequences
      in base/gp_utf8.c.
    - CVE-2025-46646

 -- Marc Deslauriers <email address hidden> Wed, 30 Apr 2025 09:26:37 -0400

CVE-2025-46646 In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomp



About   -   Send Feedback to @ubuntu_updates