CVE-2020-25664
Publication date 8 December 2020
Last updated 11 July 2025
Ubuntu priority
Cvss 3 Severity Score
Description
In WriteOnePNGImage() of the PNG coder at coders/png.c, an improper call to AcquireVirtualMemory() and memset() allows for an out-of-bounds write later when PopShortPixel() from MagickCore/quantum-private.h is called. The patch fixes the calls by adding 256 to rowbytes. An attacker who is able to supply a specially crafted image could affect availability with a low impact to data integrity. This flaw affects ImageMagick versions prior to 6.9.10-68 and 7.0.8-68.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| imagemagick | 25.10 questing | 
                                Vulnerable, fix deferred 
                                
                               | 
| 25.04 plucky | 
                                Vulnerable, fix deferred 
                                
                               | |
| 24.04 LTS noble | 
                                Vulnerable, fix deferred 
                                
                               | |
| 22.04 LTS jammy | 
                                Vulnerable, fix deferred 
                                
                               | |
| 20.04 LTS focal | 
                                Vulnerable, fix deferred 
                                
                               | |
| 18.04 LTS bionic | 
                                Vulnerable, fix deferred 
                                
                               | |
| 16.04 LTS xenial | 
                                Fixed 8:6.8.9.9-7ubuntu5.16+esm2 
                                
                                   | |
| 14.04 LTS trusty | 
                                Fixed 8:6.7.7.10-6ubuntu3.13+esm11 
                                
                                   | 
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 | Local | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | Required | 
| Scope | Unchanged | 
| Confidentiality | None | 
| Integrity impact | Low | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-5335-1
- ImageMagick vulnerabilities
- 18 March 2022
- USN-7068-1
- ImageMagick vulnerabilities
- 15 October 2024