CVE-2020-25674
Publication date 8 December 2020
Last updated 16 October 2024
Ubuntu priority
Cvss 3 Severity Score
WriteOnePNGImage() from coders/png.c (the PNG coder) has a for loop with an improper exit condition that can allow an out-of-bounds READ via heap-buffer-overflow. This occurs because it is possible for the colormap to have less than 256 valid values but the loop condition will loop 256 times, attempting to pass invalid colormap data to the event logger. The patch replaces the hardcoded 256 value with a call to MagickMin() to ensure the proper value is used. This could impact application availability when a specially crafted input file is processed by ImageMagick. This flaw affects ImageMagick versions prior to 7.0.8-68.
Status
Package | Ubuntu Release | Status |
---|---|---|
imagemagick | 24.10 oracular |
Not affected
|
24.04 LTS noble |
Not affected
|
|
22.04 LTS jammy |
Not affected
|
|
20.04 LTS focal |
Fixed 8:6.9.10.23+dfsg-2.1ubuntu11.4
|
|
18.04 LTS bionic |
Fixed 8:6.9.7.4+dfsg-16ubuntu6.11
|
|
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 ProSeverity score breakdown
Parameter | Value |
---|---|
Base score | 5.5 · Medium |
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-4988-1
- ImageMagick vulnerabilities
- 15 June 2021
- USN-5335-1
- ImageMagick vulnerabilities
- 18 March 2022
- USN-7068-1
- ImageMagick vulnerabilities
- 15 October 2024