Advisory

DEBIAN-CVE-2026-39919

Also known as: CVE-2026-39919

Summary

The record has no summary.

Details

Ghostscript before 10.08.0 contains a heap-based buffer overflow vulnerability in the JPEG 2000 output adapter (base/sjpx_openjpeg.c) that allows attackers to cause memory corruption by supplying a crafted PDF containing a JPEG 2000 image with mismatched component subsampling factors. When image components declare different subsampling values, the non-samescale sub-byte-depth output path allocates a row buffer sized for packed output but writes a full byte per output column regardless of bit depth, overflowing the allocation and corrupting internal chunk-allocator metadata to achieve code execution.

Severity

Not rated by the source.

Dates

Published
2026-09-15 15:17 UTC
Modified
2026-11-17 22:00 UTC

Affected packages and fixes

ghostscript

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 10.0.0~dfsg-11+deb12u9 (ecosystem)

Fixed versions

10.0.0~dfsg-11+deb12u9

Fix

  • Fixed version 10.0.0~dfsg-11+deb12u9
    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) · Debian 13

Affected

  • introduced 0, fixed 10.05.1~dfsg-1+deb13u2 (ecosystem)

Fixed versions

10.05.1~dfsg-1+deb13u2

Fix

  • Fixed version 10.05.1~dfsg-1+deb13u2
    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) · Debian 14

Affected

  • introduced 0, fixed 10.08.0~dfsg-1 (ecosystem)

Fixed versions

10.08.0~dfsg-1

Fix

  • Fixed version 10.08.0~dfsg-1
    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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences