Analysis
Analysis — The vulnerability CVE-2026-125396, named Upload2Shell, affects Ghostscript, an open-source interpreter for PostScript and PDF documents. A proof of concept (PoC) to exploit it is available. The cause is improper handling of the .putgstringcopy procedure, which calls the privileged .forceput operator without properly checking operand types. The issue may allow restrictions in -dSAFER security mode to be bypassed and cause a use-after-free condition.
Affected software and versions
| Software | Affected versions | Related CVEs |
|---|---|---|
| ArtifexSoftware ghostpdl | < 10.08.0 | CVE-2026-125396 |