DEBIAN-CVE-2020-27771

    Dashboard / Vulnerabilities / DEBIAN-CVE-2020-27771

    DEBIAN-CVE-2020-27771

    Published: 4 Dec 2020Last Modified: 11 Sept 2026
    Upstream:

    Summary:

    Details: In RestoreMSCWarning() of /coders/pdf.c there are several areas where calls to GetPixelIndex() could result in values outside the range of representable for the unsigned char type. The patch casts the return value of GetPixelIndex() to ssize_t type to avoid this bug. This undefined behavior could be triggered when ImageMagick processes a crafted pdf file. Red Hat Product Security marked this as Low severity because although it could potentially lead to an impact to application availability, no specific impact was demonstrated in this case. This flaw affects ImageMagick versions prior to 7.0.9-0.

    Affected packages

    Package

    Name: imagemagick

    Purl: pkg:deb/debian/imagemagick?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -8:6.9.11.24+dfsg-1

    Affected versions

    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
    DEBIAN-CVE-2020-27771 | CVE-DB