Description
An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could result in values outside the range of representable for the 'unsigned char'. When ImageMagick processes a crafted pdf file, this could lead to an undefined behaviour or a crash.
References (4)
Core 4
Core References
Mailing List mailing-list
https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
Patch, Third Party Advisory
https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6
Issue Tracking, Patch, Third Party Advisory
https://github.com/ImageMagick/ImageMagick/pull/3083
Patch, Third Party Advisory
https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464d
Scores
CVSS v3
5.5
EPSS
0.0003
EPSS Percentile
9.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-190
Status
published
Products (1)
imagemagick/imagemagick
< 6.9.11-57
Published
Aug 25, 2022
Tracked Since
Feb 18, 2026