CVE-2026-40312
JSON

6.2medium

ImageMagick: Off-by-One in MSL decoder could result in crash

Severity
6.2medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-5xg3-585r-9jh5

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below 7.1.2-19, an off by one error in the MSL decoder could result in a crash when a malicous MSL file is read. This issue has been fixed in version 7.1.2-19.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagick< 7.1.2-19, before 7.1.2-19CVE List, NVD
Magick.NET-Q16-AnyCPU (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-AnyCPU (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-arm64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-x64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-x86 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-arm64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-x64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-x86 (NuGet)before 14.12.0GitHub Advisory Database

All scores

GitHub_M6.2medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub6.2medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-193

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below 7.1.2-19, an off by one error in the MSL decoder could result in a crash when a malicous MSL file is read. This issue has been fixed in version 7.1.2-19.

GitHub Advisory Database

An off by one error in de MSL decoder could result in a crash when a malicous msl file is read.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40312 changed 2026-04-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-5xg3-585r-9jh5 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-40312 changed 2026-06-17Public domain