November 21, 2026 at 8:55 PM EST
Ghostscript Upload2Shell CVE-2026-125396 goes public; PHP CVE-2026-115560 gets a public PoC
highcritical
Upload2Shell (CVE-2026-125396), a Ghostscript -dSAFER escape reachable through image and document uploads, was published with research on Nov 21; fixed in Ghostscript 10.08.0. PHP session flaw CVE-2026-115560 now has public proof-of-concept code referenced in its CVE record.
Ghostscript Upload2Shell (CVE-2026-125396)
- What: A use-after-free in Ghostscript's Type 1 font loader (.putgstringcopy / .forceput) lets a crafted PostScript or PDF escape the -dSAFER sandbox and run commands as the rendering process. Files named .jpg or .png can still reach Ghostscript through ImageMagick/Imagick conversion, so upload, thumbnail, print and webmail preview paths are exposed. Research: pwn.ai/upload2shell, oss-security.
- Severity: High, CVSS 4.0 8.5 (VulnCheck); Amazon Linux rates it Important 7.8. NVD
- Exploited: No confirmed in-the-wild exploitation; not on CISA KEV.
- Fixed in: Ghostscript 10.08.0. Debian bookworm 10.0.0
dfsg-11+deb12u9 (DLA-4914-1), trixie 10.05.1dfsg-1+deb13u2 (DSA-6516-1) (tracker). Amazon Linux 2 and 2023: Pending Fix (ALAS). The related WordPress core upload-path issue (CVE-2026-65640) was fixed in WordPress 7.0.4 and backports (GHSA-8vr3-7mxf-gx8w). - What to do: Update Ghostscript to 10.08.0 or a distribution backport. Where no fix is available, remove Ghostscript if unused, or block the PS, EPS, PDF and XPS coders in ImageMagick's policy.xml so uploads can't reach it. Keep WordPress current and limit who has the upload_files capability.
PHP session serializer mismatch (CVE-2026-115560): public PoC
- What: With session upload progress enabled, attacker-controlled data can be deserialized when a session is read with a different serializer, which may lead to code execution with a suitable gadget chain.
- Severity: Critical, CVSS 4.0 9.2 (PHP). NVD, GHSA-658j-r8rw-q6mx
- Exploited: Public proof-of-concept code is now referenced in the CVE record (added Nov 22 UTC); CISA's assessment lists exploitation as none; not on CISA KEV.
- Fixed in: PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13.
- What to do: Upgrade PHP. Until then set session.upload_progress.enabled=0 and don't change session.serialize_handler at runtime or share a session store between apps that use different serializers.
General information only. Confirm fixed versions in the linked official advisories before patching.