{"id":"UBUNTU-CVE-2026-25794","details":"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.","modified":"2026-06-30T18:16:39.905985563Z","published":"2026-02-24T01:16:00Z","related":["USN-8263-1"],"upstream":["CVE-2026-25794"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-25794"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-25794"},{"type":"REPORT","url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vhqj-f5cj-9x8h"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8263-1"}],"affected":[{"package":{"name":"imagemagick","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/imagemagick?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:7.1.2.3+dfsg1-1ubuntu0.1"}]}],"versions":["8:7.1.1.43+dfsg1-1","8:7.1.1.43+dfsg1-1ubuntu1","8:7.1.1.43+dfsg1-1ubuntu2","8:7.1.2.3+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"imagemagick","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_name":"imagemagick-7-common","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_name":"imagemagick-7.q16","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"imagemagick-7.q16hdri"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libimage-magick-perl"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libimage-magick-q16-perl"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libimage-magick-q16hdri-perl"},{"binary_name":"libmagick++-7-headers","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_name":"libmagick++-7.q16-5","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_name":"libmagick++-7.q16hdri-5","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagickcore-7-arch-config"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagickcore-7-headers"},{"binary_name":"libmagickcore-7.q16-10","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagickcore-7.q16-10-extra"},{"binary_name":"libmagickcore-7.q16hdri-10","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagickcore-7.q16hdri-10-extra"},{"binary_name":"libmagickwand-7-headers","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_name":"libmagickwand-7.q16-10","binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"libmagickwand-7.q16hdri-10"},{"binary_version":"8:7.1.2.3+dfsg1-1ubuntu0.1","binary_name":"perlmagick"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-25794.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}