All vulnerabilities

Servers and applications

CVE-2021-20224

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.

Severity
Medium 5.5
Published
25 Aug 2022
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
6.9.11-57, 7.0.10-57
Sources
NVD

Affected software

SoftwareAffected versions
ImageMagickServers and applications · cpe:a:imagemagick:imagemagick
  • Every version before 6.9.11-57
  • From 7.0.0-0 before 7.0.10-57

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-20224
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-20224