News for hackers. Stuff that matters.
Re:Upload2Shell · CVE-2026-125396 by asimovDev on Sunday November 22, 2026 @01:58AM (#50597000)
Something that uses CImg just for resizing could be a decent alternative. It’s a library but they provided a nice cli for it the last time i checked
Re:Upload2Shell · CVE-2026-125396 by g-b-r on Sunday November 22, 2026 @03:25AM (#50597454)
Yes, it seems much smaller than ImageMagick.

ImageMagick has a big attack surface, when most people probably use it just for cropping and resizing.

Just use something leaner, when you can.

Re:Upload2Shell · CVE-2026-125396 by WesolyKubeczek on Sunday November 22, 2026 @06:55AM (#50598790)
„When you can” is doing the heavy lifting here. Also, sometimes you need to process PostScript-adjacent things.
Re:Upload2Shell · CVE-2026-125396 by amiga386 on Sunday November 22, 2026 @02:51PM (#50603224)
Another alternative is GraphicsMagick (https://www.graphicsmagick.org/) which aims to be API and utility compatible with ImageMagick, but spends most of its development effort on fuzzing, verification, etc. It's a more secure alternative to ImageMagick for those who've developed something significant that depends on ImageMagick.