PYSEC-2023-227

    Dashboard / Vulnerabilities / PYSEC-2023-227

    PYSEC-2023-227

    Published: 3 Nov 2023Last Modified: 10 Jun 2026

    Summary:

    Details: An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of memory. This occurs for truetype in ImageFont when textlength in an ImageDraw instance operates on a long text argument.

    Affected packages

    Package

    Name: pillow

    Purl: pkg:pypi/pillow

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    1.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
    PYSEC-2023-227 | CVE-DB