CVE-2021-20224Imagemagick
Medium 5.5
Follow: this CVE · Imagemagick · Imagemagick We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 35
- Auth required
- Yes
- Published
- Aug 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Imagemagick.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| imagemagick | imagemagick | < 6.9.11-57 |
| imagemagick | imagemagick | ≥ 7.0.0-0 < 7.0.10-57 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org