MEDIUM 5.3 NuGet

ImageMagick has Use After Free in MSLStartElement in "coders/msl.c"

GHSA-fwqw-2x5x-w566 · CVE-2026-25983

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

A crafted MSL script triggers a heap-use-after-free. The operation element handler replaces and frees the image while the parser continues reading from it, leading to a UAF in ReadBlobString during further parsing.

Ready to move

Start Securing

Free, no credit card | First findings in minutes