logoalt Hacker News

Upload2Shell · CVE-2026-125396

27 points • by f311a • today at 6:29 PM • 9 comments • view on HN

Comments

hannob • today at 8:25 PM

It's been known for a while, and certainly long before the recent AI vuln flood, that ghostscript is really problematic in terms of security.

Ultimately, postscript is its own programming language, and executing a programming language in a secure, sandboxed way is not trivial. ghostscript has only a very poor pseudo sandbox that fails regularly. Unfortunately, ghostscript is the only implementation of postscript that's out there.

All of that would matter much less if people only used it to parse postscript. But it's used indirectly by imagemagick (you can disable it), which means many people using imagemagick to parse images from untrusted sources get exposed to ghostscript's poor security.

dabinat • today at 6:40 PM

This seems like important information but this page is completely unreadable.

➕ show 1 reply
Insimwytim • today at 8:31 PM

At the time of heartbleed and the likes, we may have not had the best code, but at least people who named things were a little bit more imaginative.

dgacmu • today at 8:33 PM

Wish they'd named it Shell In The Ghost

derac • today at 8:13 PM

this name is god awful. ask an llm to name your thing or something

philipwhiuk • today at 8:02 PM

Weird title. Feels like it should be GhostScript2Shell.

And the disclosure process is problematic if it's all the same issue.

➕ show 1 reply
baggy_trough • today at 7:22 PM

If you want to use Ghostscript in a secure manner, you're going to have a bad time.