CVE-2020-25664 — Heap-based Buffer Overflow in Imagemagick
Severity
6.1MEDIUMNVD
OSV6.5
EPSS
0.1%
top 79.53%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 8
Latest updateOct 15
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HExploitability: 1.8 | Impact: 4.2
Affected Packages5 packages
Also affects: Fedora 34
Patches
🔴Vulnerability Details
3📋Vendor Advisories
4Debian▶
CVE-2020-25664: imagemagick - In WriteOnePNGImage() of the PNG coder at coders/png.c, an improper call to Acqu...↗2020
Red Hat
▶