NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · NuGet

CVE-2026-25638: ImageMagick has memory leak in msl encoder

mediumCVSS 3.1 5.3GHSA-gxcx-qjqp-8vjw

Memory leak exists in coders/msl.c. In the WriteMSLImage function of the msl.c file, resources are allocated. But the function returns early without releasing these allocated resources.

Published Feb 24, 2026

Affected packages

Magick.NET-Q16-AnyCPU

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-HDRI-AnyCPU

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-HDRI-OpenMP-arm64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-HDRI-OpenMP-x64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-HDRI-arm64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-HDRI-x64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-HDRI-x86

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-OpenMP-arm64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-OpenMP-x64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-OpenMP-x86

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-arm64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-x64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q16-x86

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q8-AnyCPU

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q8-OpenMP-arm64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q8-OpenMP-x64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q8-arm64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q8-x64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Magick.NET-Q8-x86.NET-Q8-x64

Ecosystem
NuGet
Affected
< 14.10.3
Fixed in
14.10.3
Check
dotnet list package --include-transitive

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Memory leak exists in coders/msl.c. In the WriteMSLImage function of the msl.c file, resources are allocated. But the function returns early without releasing these allocated resources.

==78983== Memcheck, a memory error detector
==78983== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==78983== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==78983== 
==78983== 177,196 (13,512 direct, 163,684 indirect) bytes in 1 blocks are definitely lost in loss record 21 of 21
==78983==    at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)

Credited to unbengable12.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More NuGet vulnerabilities

All NuGet entries