Name | CVE-2020-25664 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
imagemagick (PTS) | jessie, jessie (lts) | 8:6.8.9.9-5+deb8u27 | vulnerable |
| stretch (security) | 8:6.9.7.4+dfsg-11+deb9u14 | vulnerable |
| stretch (lts), stretch | 8:6.9.7.4+dfsg-11+deb9u20 | vulnerable |
| buster, buster (lts) | 8:6.9.10.23+dfsg-2.1+deb10u9 | vulnerable |
| buster (security) | 8:6.9.10.23+dfsg-2.1+deb10u7 | vulnerable |
| bullseye | 8:6.9.11.60+dfsg-1.3+deb11u4 | fixed |
| bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u3 | fixed |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u2 | fixed |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u1 | fixed |
| trixie | 8:6.9.13.12+dfsg1-1 | fixed |
| sid | 8:7.1.1.39+dfsg1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
imagemagick | source | (unstable) | 8:6.9.11.24+dfsg-1 | | | |
Notes
[buster] - imagemagick <ignored> (Minor issue)
[stretch] - imagemagick <ignored> (Minor issue)
https://github.com/ImageMagick/ImageMagick/issues/1716
ImageMagick: https://github.com/ImageMagick/ImageMagick/commit/1f450bb5ba53d275de6d1cd086c98a0b549ad393
ImageMagick6: https://github.com/ImageMagick/ImageMagick6/commit/27d3ddedb73f63fa984ff5b4d66e07eef654070f
ImageMagick6: https://github.com/ImageMagick/ImageMagick6/commit/e16a98540228f707a718dd09ac0b8cacd2a25d49 (revert)
possible incomplete/invalid fix, cf. CVE-2020-27752 that occurs after the fix
[jessie] - imagemagick <ignored> (Minor issue)