CVE-2026-34238
JSON

5.1medium

ImageMagick: Integer overflow in despeckle operation causes heap buffer overflow on 32-bit builds

Severity
5.1medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.22% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-26qp-ffjh-2x4v

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below both 7.1.2-19 and 6.9.13-44, an integer overflow in the despeckle operation causes a heap buffer overflow on 32-bit builds that will result in an out of bounds write. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagick< 6.9.13-44, < 7.1.2-19, before 6.9.13-44, from 7.0.0-0 before 7.1.2-19CVE List, NVD
Magick.NET-Q16-AnyCPU (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-AnyCPU (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-x86 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-x86 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q8-AnyCPU (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q8-x86 (NuGet)before 14.12.0GitHub Advisory Database

All scores

GitHub_M5.1medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub5.1medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-190CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below both 7.1.2-19 and 6.9.13-44, an integer overflow in the despeckle operation causes a heap buffer overflow on 32-bit builds that will result in an out of bounds write. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.

GitHub Advisory Database

An integer overflow in the despeckle operation causes a heap buffer overflow on 32-bit builds that will result in an out of bounds write.

==1551685==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xea2fb818 at pc 0x56cbc42a bp 0xffc4ce48 sp 0xffc4ce38
WRITE of size 8 at 0xea2fb818 thread T0

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34238 changed 2026-04-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-26qp-ffjh-2x4v changed 2026-05-05CC-BY-4.0
NVDCVE-2026-34238 changed 2026-06-17Public domain