Skip to content
Heist/ feed
Back to feed
HighFix available

pillow — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-44271

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.

Products
pillow
Affected versions
9.4.0-1.1
Fixed versions
10.0.0-1, 9.4.0-1.1+deb12u1
CVEs
CVE-2023-44271
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:49 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-44271

core-osv · Original source

Published 3 Nov 2023, 05:15 UTC

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.

osv:DEBIAN-CVE-2023-44271

pillow

Fixed versions: 9.4.0-1.1+deb12u1

pillow

Fixed versions: 10.0.0-1

pillow

Fixed versions: 10.0.0-1

Complete source record
{
  "id": "0131f04064485f1cab8ff66db6816e9183aac61a226f9b684f72b6a5774d4972",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-44271",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-44271",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2023-44271",
    "products": [
      {
        "name": {
          "value": "pillow",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.4.0-1.1+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "9.4.0-1.1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pillow",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.0.0-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pillow",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.0.0-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-44271",
      "aliases": [
        "DEBIAN-CVE-2023-44271"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.4.0-1.1+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "pillow",
            "purl": "pkg:deb/debian/pillow?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "9.4.0-1.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-44271.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.0.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "pillow",
            "purl": "pkg:deb/debian/pillow?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-44271.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.0.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "pillow",
            "purl": "pkg:deb/debian/pillow?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-44271.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:01:54.280313882Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-44271"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-44271"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-44271",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 455755,
  "published_at": "2023-11-03T05:15:30.137+00:00"
}