CVE-2026-40169: ImageMagick has a heap buffer overflow (WRITE) in the YAML and JSON encoders.
A crafted image could result in an out of bounds heap write when writing a yaml or json output and that could result in a crash.
References
- github.com/ImageMagick/ImageMagick
- github.com/ImageMagick/ImageMagick/commit/f86452a8aea37bf2b4bd36127f836dcc5f138b38
- github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5592-p365-24xh
- github.com/advisories/GHSA-5592-p365-24xh
- github.com/dlemstra/Magick.NET/releases/tag/14.12.0
- nvd.nist.gov/vuln/detail/CVE-2026-40169
Code Behaviors & Features
Detect and mitigate CVE-2026-40169 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →