CVE-2021-20309
Publication date 11 May 2021
Last updated 18 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
A flaw was found in ImageMagick in versions before 7.0.11 and before 6.9.12, where a division by zero in WaveImage() of MagickCore/visual-effects.c may trigger undefined behavior via a crafted image file submitted to an application using ImageMagick. The highest threat from this vulnerability is to system availability.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| imagemagick | 25.10 questing | 
                                Fixed 8:6.9.11.60+dfsg-1.3ubuntu1 
                                
                               | 
| 25.04 plucky | 
                                Fixed 8:6.9.11.60+dfsg-1.3ubuntu1 
                                
                               | |
| 24.04 LTS noble | 
                                Fixed 8:6.9.11.60+dfsg-1.3ubuntu1 
                                
                               | |
| 22.04 LTS jammy | 
                                Fixed 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 
                                
                                   | |
| 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.12 
                                
                               | |
| 16.04 LTS xenial | 
                                Fixed 8:6.8.9.9-7ubuntu5.16+esm1 
                                
                                   | |
| 14.04 LTS trusty | 
                                Fixed 8:6.7.7.10-6ubuntu3.13+esm1 
                                
                                   | 
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 trialNotes
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Network | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | None | 
| Scope | Unchanged | 
| Confidentiality | None | 
| Integrity impact | None | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-5158-1
- ImageMagick vulnerabilities
- 29 November 2021
- USN-5736-1
- ImageMagick vulnerabilities
- 24 November 2022
- USN-5736-2
- ImageMagick vulnerabilities
- 24 November 2022
- USN-6200-1
- ImageMagick vulnerabilities
- 4 July 2023