cbcvebase.
CVE-2020-25664
published 2020-12-08

CVE-2020-25664: 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…

PriorityP425medium6.1CVSS 3.1
AVLACLPRNUIRSUCNILAH
EPSS
0.71%
49.4th percentile
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.

Affected

11 ranges
VendorProductVersion rangeFixed in
debianimagemagick< imagemagick 8:6.9.11.24+dfsg-1 (bookworm)imagemagick 8:6.9.11.24+dfsg-1 (bookworm)
fedoraprojectfedora
imagemagickimagemagick< 6.9.10-686.9.10-68
imagemagickimagemagick
imagemagickimagemagick
imagemagickimagemagick>= 0 < 8:6.9.11.24+dfsg-18:6.9.11.24+dfsg-1
imagemagickimagemagick>= 0 < 8:6.9.11.24+dfsg-18:6.9.11.24+dfsg-1
imagemagickimagemagick>= 0 < 8:6.9.11.24+dfsg-18:6.9.11.24+dfsg-1
imagemagickimagemagick>= 0 < 8:6.9.11.24+dfsg-18:6.9.11.24+dfsg-1
imagemagickimagemagick>= 0 < 8:6.8.9.9-7ubuntu5.16+esm28:6.8.9.9-7ubuntu5.16+esm2
imagemagickimagemagick>= 7.0.8 < 7.0.8-687.0.8-68

CVSS provenance

nvdv3.16.1MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:P
osv6.5MEDIUM
vendor_ubuntu6.5MEDIUM
vendor_debian6.1MEDIUM
vendor_redhat6.1MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.