CVE Catalog

CVE-2026-25794

HighCVSS 8.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.42%

34th percentile - higher than 34% of all known CVEs

Summary

In ImageMagick prior to version 7.1.2-15, the `WriteUHDRImage` function in `coders/uhdr.c` uses `int` arithmetic to compute the pixel buffer size. When image dimensions are large, the multiplication overflows 32-bit `int`, causing an undersized heap allocation followed by an out-of-bounds write.

Risk Assessment

An attacker can exploit this vulnerability to crash the process or potentially achieve remote code execution by supplying a specially crafted image, threatening the confidentiality, integrity, and availability of the system.

Recommendation

Immediately update ImageMagick to version 7.1.2-15 or later, which includes a fix for the integer overflow.

Other vulnerabilities in ImageMagick

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS