CVE-2020-25664

    Dashboard / Vulnerabilities / CVE-2020-25664

    CVE-2020-25664

    Published: 8 Dec 2020Last Modified: 7 Aug 2026

    Summary:

    Details: 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 packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- ca7b8e7e8bfa64b38ed2e704145d15ddcebdef05

    Affected versions

    7.0.8-67
    7.0.8-66
    7.0.8-65
    7.0.8-64
    7.0.8-63
    7.0.8-62
    7.0.8-61
    7.0.8-60
    7.0.8-59
    7.0.8-58
    7.0.8-57
    7.0.8-56
    7.0.8-55
    7.0.8-54
    7.0.8-53
    7.0.8-52
    7.0.8-51
    7.0.8-50
    7.0.8-49
    7.0.8-48
    7.0.8-47
    7.0.8-46
    7.0.8-45
    7.0.8-44
    7.0.8-43
    7.0.8-42
    7.0.8-41
    7.0.8-40
    7.0.8-39
    7.0.8-38
    7.0.8-37
    7.0.8-36
    7.0.8-35
    7.0.8-34
    7.0.8-33
    7.0.8-32
    7.0.8-31
    7.0.8-30
    7.0.8-29
    7.0.8-28
    7.0.8-27
    7.0.8-26
    7.0.8-25
    7.0.8-24
    7.0.8-23
    7.0.8-22
    7.0.8-21
    7.0.8-20
    7.0.8-19
    7.0.8-18
    7.0.8-17
    7.0.8-16
    7.0.8-15
    7.0.8-14
    7.0.8-13
    7.0.8-12
    7.0.8-11
    7.0.8-10
    7.0.8-9
    7.0.8-8
    7.0.8-7
    7.0.8-6
    7.0.8-5
    7.0.8-4
    7.0.8-3
    7.0.8-2
    7.0.8-1
    7.0.8-0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2020-25664 | CVE-DB