NetSight
high7.5

CVE-2026-25985

ImageMagick: Memory allocation with excessive without limits in the internal SVG decoder

Impact

A crafted SVG file containing an malicious element causes ImageMagick to attempt to allocate ~674 GB of memory, leading to an out-of-memory abort. Found via AFL++ fuzzing with afl-clang-lto instrumentation and AddressSanitizer.

Affected packages

EcosystemPackageAffectedFixed in
nugetMagick.NET-Q16-AnyCPU< 14.10.314.10.3
nugetMagick.NET-Q16-HDRI-AnyCPU< 14.10.314.10.3
nugetMagick.NET-Q16-HDRI-OpenMP-arm64< 14.10.314.10.3
nugetMagick.NET-Q16-HDRI-OpenMP-x64< 14.10.314.10.3
nugetMagick.NET-Q16-HDRI-arm64< 14.10.314.10.3
nugetMagick.NET-Q16-HDRI-x64< 14.10.314.10.3
nugetMagick.NET-Q16-HDRI-x86< 14.10.314.10.3
nugetMagick.NET-Q16-OpenMP-arm64< 14.10.314.10.3
nugetMagick.NET-Q16-OpenMP-x64< 14.10.314.10.3
nugetMagick.NET-Q16-OpenMP-x86< 14.10.314.10.3
nugetMagick.NET-Q16-arm64< 14.10.314.10.3
nugetMagick.NET-Q16-x64< 14.10.314.10.3
nugetMagick.NET-Q16-x86< 14.10.314.10.3
nugetMagick.NET-Q8-AnyCPU< 14.10.314.10.3
nugetMagick.NET-Q8-OpenMP-arm64< 14.10.314.10.3
nugetMagick.NET-Q8-OpenMP-x64< 14.10.314.10.3
nugetMagick.NET-Q8-arm64< 14.10.314.10.3
nugetMagick.NET-Q8-x64< 14.10.314.10.3
nugetMagick.NET-Q8-x86< 14.10.314.10.3

Affected products

VendorProductAffected versions
ImagemagickImagemagick
before 6.9.13-40
from 7.0.0-0 before 7.1.2-15

Weakness classification

References