CVE-2021-20224
Publication date 25 August 2022
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| imagemagick | ||
| 22.04 LTS jammy | 
                                Not affected 
                                
                               | |
| 20.04 LTS focal | 
                                Fixed 8:6.9.10.23+dfsg-2.1ubuntu11.9 
                                
                               | |
| 18.04 LTS bionic | 
                                Fixed 8:6.9.7.4+dfsg-16ubuntu6.14 
                                
                               | |
| 16.04 LTS xenial | 
                                Fixed 8:6.8.9.9-7ubuntu5.16+esm5 
                                
                                   | |
| 14.04 LTS trusty | 
                                Fixed 8:6.7.7.10-6ubuntu3.13+esm3 
                                
                                   | 
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Local | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | Required | 
| Scope | Unchanged | 
| Confidentiality | None | 
| Integrity impact | None | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-5736-1
- ImageMagick vulnerabilities
- 24 November 2022
- USN-5736-2
- ImageMagick vulnerabilities
- 24 November 2022
- USN-6200-1
- ImageMagick vulnerabilities
- 4 July 2023