{"id":"CVE-2026-25898","published":"2026-02-24T01:18:33Z","modified":"2026-02-26T15:26:43Z","title":"Imagemagick Has Global Buffer Overflow (OOB Read) via Negative Pixel Index in UIL and XPM Writer","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, the UIL and XPM image encoder do not validate the pixel index value returned by `GetPixelIndex()` before using it as an array subscript. In HDRI builds, `Quantum` is a floating-point type, so pixel index values can be negative. An attacker can craft an image with negative pixel index values to trigger a global buffer overflow read during conversion, leading to information disclosure or a process crash. Versions 7.1.2-15 and 6.9.13-40 contain a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00386,"percentile":0.33388,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vpxv-r9pg-7gpr","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":6.68},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":[">= 7.0.0, < 7.1.2-15","< 6.9.13-40"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-26T15:26:22.441113Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-vpxv-r9pg-7gpr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-vpxv-r9pg-7gpr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-vpxv-r9pg-7gpr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-vpxv-r9pg-7gpr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-vpxv-r9pg-7gpr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-vpxv-r9pg-7gpr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-vpxv-r9pg-7gpr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-vpxv-r9pg-7gpr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x86","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-vpxv-r9pg-7gpr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-vpxv-r9pg-7gpr"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds read in ImageMagick's UIL and XPM image encoders, where the pixel index returned by GetPixelIndex() is used as an array subscript without validation. In HDRI builds, where Quantum is a floating-point type, that index can be negative, and an attacker who supplies a crafted image can trigger a global buffer overflow read during conversion, leading to information disclosure or a process crash. The attack is network-reachable and requires no privileges or user interaction, with the attacker only needing to get a crafted image processed by an affected ImageMagick build.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:55Z"},"euvd":{"id":"EUVD-2026-7439","exploited":false,"provenance":"source"}}