CVE-2026-25794
ImageMagick is free and open-source software used for editing and …
ImageMagick is free and open-source software used for editing and manipulating digital images. `WriteUHDRImage` in `coders/uhdr.c` uses `int` arithmetic to compute the pixel buffer size. Prior to version 7.1.2-15, when image dimensions are large, the multiplication overflows 32-bit `int`, causing an undersized heap allocation followed by an out-of-bounds write. This can crash the process or potentially lead to an out of bounds heap write. Version 7.1.2-15 contains a patch.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vhqj-f5cj-9x8h
- nvd.nist.gov/vuln/detail/CVE-2026-25794
- github.com/ImageMagick/ImageMagick/commit/ffe589df5ff8ce1433daa4ccb0d2a9fadfbe30ed
- github.com/dlemstra/Magick.NET/releases/tag/14.10.3
- github.com/advisories/GHSA-vhqj-f5cj-9x8h
- access.redhat.com/security/cve/CVE-2026-25794
- bugzilla.redhat.com/show_bug.cgi?id=2442110
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25794.json
- nvd.nist.gov/vuln/detail/CVE-2026-25794
- cve.org/CVERecord?id=CVE-2026-25794
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.