CVE-2020-25665Heap-based Buffer Overflow in Imagemagick

Severity
5.5MEDIUMNVD
OSV6.5
EPSS
0.2%
top 52.92%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 8
Latest updateOct 15

Description

The PALM image coder at coders/palm.c makes an improper call to AcquireQuantumMemory() in routine WritePALMImage() because it needs to be offset by 256. This can cause a out-of-bounds read later on in the routine. The patch adds 256 to bytes_per_row in the call to AcquireQuantumMemory(). This could cause impact to reliability. This flaw affects ImageMagick versions prior to 7.0.8-68.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages5 packages

debiandebian/imagemagick< imagemagick 8:6.9.11.24+dfsg-1 (bookworm)
NVDimagemagick/imagemagick7.0.0-07.0.8-68+1
Debianimagemagick/imagemagick< 8:6.9.11.24+dfsg-1+3
Ubuntuimagemagick/imagemagick< 8:6.8.9.9-7ubuntu5.16+esm2
CVEListV5imagemagick/imagemagickprior to 7.0.8-68

Also affects: Debian Linux 9.0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-jrw9-9g4g-6hxf: The PALM image coder at coders/palm2022-05-24
OSV
imagemagick vulnerabilities2022-03-18
OSV
CVE-2020-25665: The PALM image coder at coders/palm2020-12-08

📋Vendor Advisories

5
Ubuntu
ImageMagick vulnerabilities2024-10-15
Ubuntu
ImageMagick vulnerabilities2022-03-18
Ubuntu
ImageMagick vulnerabilities2021-06-15
Debian
CVE-2020-25665: imagemagick - The PALM image coder at coders/palm.c makes an improper call to AcquireQuantumMe...2020
Red Hat
ImageMagick: heap-based buffer overflow in WritePALMImage in coders/palm.c2019-10-04

💬Community

1
Bugzilla
CVE-2020-25665 ImageMagick: heap-based buffer overflow in WritePALMImage in coders/palm.c2020-10-26