{"id":"CVE-2020-25664","aliases":["CVE-2020-25664"],"related":[],"kind":"vulnerability","state":"published","title":"In WriteOnePNGImage() of the PNG coder at coders/png.c, an improper call to AcquireVirtualMemory() and memset() allows for an out-of-bounds…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En la función WriteOnePNGImage() del codificador PNG en el archivo coders/png.c, una llamada inapropiada a las funciones AcquireVirtualMemory() y memset() permite una escritura fuera de límites más tarde cuando se llama a la función PopShortPixel() del archivo MagickCore/quantum-private.h .&#xa0;El parche corrige las llamadas al agregar 256 a los bytes de fila.&#xa0;Un atacante que es capaz de suministrar una imagen especialmente diseñada podría afectar la disponibilidad con un impacto bajo en la integridad de los datos.&#xa0;Este fallo afecta a ImageMagick versiones anteriores a 6.9.10-68 y 7.0.8-68","source":"nvd"}],"published":"2020-12-08T20:57:44.000Z","modified":"2026-06-17T03:07:05.160Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"version":"prior to 7.0.8-68","status":"affected"},{"version":"prior to 6.9.10-68","status":"affected"}],"product":"ImageMagick","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.9.10-68"},{"status":"affected","introduced":"7.0.8","fixed":"7.0.8-68"}],"vendor":"imagemagick","product":"imagemagick","cpe":"cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"34"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1891605","tags":["exploit","issue-tracking","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z3J6D7POCQYQKNVRDYLTTPM5SQC3WVTR/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-25664","url":"https://www.cve.org/CVERecord?id=CVE-2020-25664","licence":"CVE Terms of Use","modified":"2024-08-04T15:40:36.922Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-25664","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25664","licence":"Public domain","modified":"2026-06-17T03:07:05.160Z"}],"updatedAt":"2026-11-25T22:57:56.077Z","epss":{"score":0.00719,"percentile":0.55142,"date":"2026-12-02T12:00:21.000Z"}}