CVE-2026-39919 — Docker Container Impact
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.
Affected Containers & Packages (5 finding(s))
| Container App | Variant & Tags | Layer | Package | Fixed In | Digest |
|---|---|---|---|---|---|
| Nextcloud | alpine (35.0.0-fpm-alpine) | os | ghostscript 10.07.1-r0 | 10.08.0-r0 | sha256:33f8addb50e4 |
| Nextcloud | alpine (34.0.2-fpm-alpine) | os | ghostscript 10.07.1-r0 | 10.08.0-r0 | sha256:7e26058ebeb2 |
| Nextcloud | alpine (34.0.4-fpm-alpine) | os | ghostscript 10.07.1-r0 | 10.08.0-r0 | sha256:a6a2089e2454 |
| Nextcloud | alpine (34.0.3-fpm-alpine) | os | ghostscript 10.07.1-r0 | 10.08.0-r0 | sha256:e3801a14aed5 |
| Nextcloud | alpine (35.0.1-fpm-alpine) | os | ghostscript 10.07.1-r0 | 10.08.0-r0 | sha256:f77b02a52251 |
Notice — Data Accuracy Disclaimer: SBOMs, CVE matches, risk scores, and fix versions are automated best-effort snapshots and are not guaranteed to be 100% complete or accurate. Results are generated using open-source tools (Anchore Syft, Anchore Grype, and OSV.dev) and public feeds, and may contain false positives, distro backport nuances, or upstream feed delays. Always verify critical findings directly against official security advisories.
Official Security Sources: NVD (nvd.nist.gov) • CISA KEV Catalog • FIRST EPSS • GitHub Advisories • Alpine Security Tracker • Debian Security Tracker • Red Hat CVE Database