CVE-2026-40311: ImageMagick has a heap-use-after-free via XMP profile could result in a crash when printing the values.
(updated )
An heap use after free when reading an invalid XMP profile could result in a crash due to an heap use after free when printing the values.
References
- github.com/ImageMagick/ImageMagick/commit/5facfecf1abb3fed46a08f614dcc43d1e548e20d
- github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r83h-crwp-3vm7
- github.com/advisories/GHSA-r83h-crwp-3vm7
- github.com/dlemstra/Magick.NET/releases/tag/14.12.0
- nvd.nist.gov/vuln/detail/CVE-2026-40311
Code Behaviors & Features
Detect and mitigate CVE-2026-40311 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →