Vulnerabilities / CVE-2026-25986

critical

CVE-2026-25986

ImageMagick: ImageMagick: Denial of Service via malicious YUV image processing

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Red Hat5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Julia9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Julia, Photon OS. Rated lower by Amazon (high), GHSA (medium), Red Hat (medium), Ubuntu (medium).

Description

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, a heap buffer overflow write vulnerability exists in ReadYUVImage() (coders/yuv.c) when processing malicious YUV 4:2:2 (NoInterlace) images. The pixel-pair loop writes one pixel beyond the allocated row buffer. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

Affected packages and fixed versions

SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesImageMagick_jll7.1.2023+0
Photon OS 4.0ImageMagick, ImageMagick-c++, ImageMagick-c++-devel and 3 more7.1.2.16-1.ph4
Photon OS 5.0ImageMagick, ImageMagick-c++, ImageMagick-c++-devel and 3 more7.1.2.16-1.1.ph5
alpine 3.22imagemagick7.1.2.15-r0
alpine 3.23imagemagick7.1.2.15-r0
alpine 3.24imagemagick7.1.2.15-r0
alpine edgeimagemagick7.1.2.15-r0
amazon linux 2ImageMagick, ImageMagick-c++, ImageMagick-c++-devel and 4 more6.9.10.97-1.amzn2.0.22
amazon linux 2023ImageMagick, ImageMagick-c++, ImageMagick-c++-debuginfo and 9 more1:6.9.13.40-1.amzn2023.0.1
debian 11imagemagick8:6.9.11.60+dfsg-1.3+deb11u10
debian 12imagemagick8:6.9.11.60+dfsg-1.6+deb12u7
debian 13imagemagick8:7.1.1.43+dfsg1-1+deb13u6
Show all 117 entries from 36 sources
SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesImageMagick_jll7.1.2023+0
Photon OS 4.0ImageMagick7.1.2.16-1.ph4
Photon OS 4.0ImageMagick-c++7.1.2.16-1.ph4
Photon OS 4.0ImageMagick-c++-devel7.1.2.16-1.ph4
Photon OS 4.0ImageMagick-devel7.1.2.16-1.ph4
Photon OS 4.0ImageMagick-doc7.1.2.16-1.ph4
Photon OS 4.0ImageMagick-libs7.1.2.16-1.ph4
Photon OS 5.0ImageMagick7.1.2.16-1.1.ph5
Photon OS 5.0ImageMagick-c++7.1.2.16-1.1.ph5
Photon OS 5.0ImageMagick-c++-devel7.1.2.16-1.1.ph5
Photon OS 5.0ImageMagick-devel7.1.2.16-1.1.ph5
Photon OS 5.0ImageMagick-doc7.1.2.16-1.1.ph5
Photon OS 5.0ImageMagick-libs7.1.2.16-1.1.ph5
alpine 3.22imagemagick7.1.2.15-r0
alpine 3.23imagemagick7.1.2.15-r0
alpine 3.24imagemagick7.1.2.15-r0
alpine edgeimagemagick7.1.2.15-r0
amazon linux 2ImageMagick6.9.10.97-1.amzn2.0.22
amazon linux 2ImageMagick-c++6.9.10.97-1.amzn2.0.22
amazon linux 2ImageMagick-c++-devel6.9.10.97-1.amzn2.0.22
amazon linux 2ImageMagick-debuginfo6.9.10.97-1.amzn2.0.22
amazon linux 2ImageMagick-devel6.9.10.97-1.amzn2.0.22
amazon linux 2ImageMagick-doc6.9.10.97-1.amzn2.0.22
amazon linux 2ImageMagick-perl6.9.10.97-1.amzn2.0.22
amazon linux 2023ImageMagick1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-c++1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-c++-debuginfo1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-c++-devel1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-debuginfo1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-debugsource1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-devel1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-doc1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-libs1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-libs-debuginfo1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-perl1:6.9.13.40-1.amzn2023.0.1
amazon linux 2023ImageMagick-perl-debuginfo1:6.9.13.40-1.amzn2023.0.1
debian 11imagemagick8:6.9.11.60+dfsg-1.3+deb11u10
debian 12imagemagick8:6.9.11.60+dfsg-1.6+deb12u7
debian 13imagemagick8:7.1.1.43+dfsg1-1+deb13u6
debian 14imagemagick8:7.1.2.15+dfsg1-1
echoimagemagick8:6.9.11.60+dfsg-1.6+deb12u7
minimosimagemagick7.1.2.0-r0
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-AnyCPU14.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-HDRI-AnyCPU14.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-HDRI-OpenMP-arm6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-HDRI-OpenMP-x6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-HDRI-arm6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-HDRI-x6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-HDRI-x8614.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-OpenMP-arm6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-OpenMP-x6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-OpenMP-x8614.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-arm6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-x6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q16-x8614.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q8-AnyCPU14.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q8-OpenMP-arm6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q8-OpenMP-x6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q8-arm6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q8-x6414.10.3
nuget::GitHub Security Advisory NuGetMagick.NET-Q8-x8614.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-anycpu14.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-arm6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-hdri-anycpu14.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-hdri-arm6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-hdri-openmp-arm6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-hdri-openmp-x6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-hdri-x6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-hdri-x8614.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-openmp-arm6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-openmp-x6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-openmp-x8614.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-x6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q16-x8614.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q8-anycpu14.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q8-arm6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q8-openmp-arm6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q8-openmp-x6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q8-x6414.10.3
nuget::GitHub Security Advisory NuGetmagick.net-q8-x8614.10.3
rapidfort alpine 3.20imagemagick7.1.2.15-r0
rapidfort alpine 3.21imagemagick7.1.2.15-r0
rapidfort amazon linux 2023ImageMagick1:6.9.13.40-1.amzn2023.0.1
rapidfort amazon linux 2023ImageMagick-c++1:6.9.13.40-1.amzn2023.0.1
rapidfort amazon linux 2023ImageMagick-c++-devel1:6.9.13.40-1.amzn2023.0.1
rapidfort amazon linux 2023ImageMagick-devel1:6.9.13.40-1.amzn2023.0.1
rapidfort amazon linux 2023ImageMagick-doc1:6.9.13.40-1.amzn2023.0.1
rapidfort amazon linux 2023ImageMagick-libs1:6.9.13.40-1.amzn2023.0.1
rapidfort amazon linux 2023ImageMagick-perl1:6.9.13.40-1.amzn2023.0.1
rapidfort debian 12imagemagick0:7.1.1.43+dfsg1-1+deb13u6, 8:7.1.2.15+dfsg1-1
rapidfort debian 12rf-imagemagick0:7.1.1.43+dfsg1-1+deb13u6, 8:7.1.1.43+dfsg1-1+deb13u6, 8:7.1.2.15+dfsg1-1
rapidfort debian 13imagemagick0:7.1.1.43+dfsg1-1+deb13u6, 8:7.1.2.15+dfsg1-1
rapidfort debian 13rf-imagemagick0:7.1.1.43+dfsg1-1+deb13u6, 8:7.1.1.43+dfsg1-1+deb13u6, 8:7.1.2.15+dfsg1-1
rapidfort ubuntu 20.04imagemagick8:7.1.2.13+dfsg1-1ubuntu1
rapidfort ubuntu 20.04rf-imagemagick8:7.1.2.13+dfsg1-1ubuntu1
rapidfort ubuntu 22.04imagemagick8:7.1.2.13+dfsg1-1ubuntu1
rapidfort ubuntu 22.04rf-imagemagick8:7.1.2.13+dfsg1-1ubuntu1
rapidfort ubuntu 24.04imagemagick8:7.1.2.13+dfsg1-1ubuntu1
rapidfort ubuntu 24.04rf-imagemagick8:7.1.2.13+dfsg1-1ubuntu1
Red HatImageMagickno fix listed
Red HatImageMagick-c++no fix listed
Red HatImageMagick-c++-develno fix listed
Red HatImageMagick-develno fix listed
Red HatImageMagick-docno fix listed
Red HatImageMagick-perlno fix listed
root.io debian 11rootio-imagemagick8:6.9.11.60+dfsg-1.3+deb11u10
root.io debian 12rootio-imagemagick8:6.9.11.60+dfsg-1.6+deb12u7
root.io debian 13rootio-imagemagick8:7.1.1.43+dfsg1-1+deb13u6
seal Red Hat 7imagemagick6.9.10.68-6.el7_9+sp999
seal Red Hat 7seal-imagemagick6.9.10.68-6.el7_9+sp999
ubuntu 16.04-ESMimagemagick8:6.8.9.9-7ubuntu5.16+esm18
ubuntu 18.04-ESMimagemagick8:6.9.7.4+dfsg-16ubuntu6.15+esm10
ubuntu 20.04-ESMimagemagick8:6.9.10.23+dfsg-2.1ubuntu11.11+esm8
ubuntu 22.04imagemagickno fix listed
ubuntu 24.04imagemagickno fix listed
ubuntu 26.04imagemagick8:7.1.2.13+dfsg1-1ubuntu1
ubuntu 26.10imagemagick8:7.1.2.13+dfsg1-1ubuntu1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.