# CVE-2020-25664

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-12-08 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2020-25664, DEBIAN-CVE-2020-25664
- Record: https://cvemate.com/vulnerability/CVE-2020-25664 · JSON: https://cvemate.com/vulnerability/CVE-2020-25664/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- EPSS: 0.719%, percentile 55.245%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian imagemagick (Debian): \< 8:6.9.11.24+dfsg-1
- ubuntu imagemagick (Ubuntu): \< 8:6.8.9.9-7ubuntu5.16+esm2 \| All versions (No fix recorded)
- fedoraproject fedora: 34
- imagemagick imagemagick: \< 6.9.10-68 \| ≥ 7.0.8, \< 7.0.8-68

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1891605>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z3J6D7POCQYQKNVRDYLTTPM5SQC3WVTR/>
- <https://ubuntu.com/security/CVE-2020-25664>
- <https://ubuntu.com/security/notices/USN-5335-1>
- <https://www.cve.org/CVERecord?id=CVE-2020-25664>
- <https://ubuntu.com/security/notices/USN-7068-1>
- <https://security-tracker.debian.org/tracker/CVE-2020-25664>

---

Data as of 2026-12-05T04:36:33.156Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
