Ghostscript CVE-2026-125396 (Upload2Shell): Remote Code Execution via Font Loader Use-After-Free
Summary
Ghostscript vulnerability CVE-2026-125396 (Upload2Shell) enables a write-what-where primitive in the font loader, bypassing -dSAFER and enabling remote command execution via common image/PDF processing paths. The research maps multiple entry points (WordPress, Roundcube, CUPS, etc.) and notes patches released in Ghostscript 10.08.0 with ongoing fixes in various distributions.