VDB

CVE-2020-25664

CVE-2020-25664 PUBLISHED

Reported by redhat · Published December 8, 2020

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 products

VendorProductVersions
n/aImageMagickprior to 7.0.8-68, prior to 6.9.10-68
amazon:2ImageMagick-perl0
n/aImageMagick6.9.10-68, 7.0.8-68
amazon:2ImageMagick0
amazon:2ImageMagick-c++0
amazon:2ImageMagick-devel0
amazon:2ImageMagick-c++-devel0
amazon:2ImageMagick-doc0

Timeline

  • Oct 27, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 4, 2026 CVE Updated
  • Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (5 in total, the first dated here)
  • Sep 2, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-25664
vulnetix vdb fixes CVE-2020-25664

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-25664/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›