{"schema_version":"1.9.0","id":"CVE-2023-44271","published":"2023-11-03T00:00:00Z","modified":"2026-08-12T03:51:23.696943790Z","aliases":["BIT-pillow-2023-44271","GHSA-8ghj-p4vj-mr35","PYSEC-2023-227"],"related":["ALSA-2024:3005","SUSE-SU-2023:4465-1","SUSE-SU-2023:4528-1","SUSE-SU-2023:4630-1","SUSE-SU-2023:4631-1","openSUSE-SU-2024:13439-1","openSUSE-SU-2026:11261-1"],"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/pillow","events":[{"introduced":"0"},{"fixed":"6e28ed1f36d0eb74053af54e1eddc9c29db698cd"},{"fixed":"1fe1bb49c452b0318cad12ea9d97c3bef188e9a7"}],"database_specific":{"cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"10.0.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["9.5.0","9.4.0","9.3.0","9.2.0","9.1.0","9.0.0","8.4.0","8.3.0","8.2.0","8.1.0","8.0.0","7.2.0","7.1.0","7.0.0","6.2.0","6.1.0","6.0.0","5.4.0","5.3.0","5.2.0","5.1.0","5.0.0","4.3.0","4.2.0","4.1.0","4.0.0","4.0.0a","3.4.0","3.3.0","3.2.0","3.1.0","3.1.0-rc1","2.9.0","2.9.0.dev2","2.9.0.dev1","2.9.0.dev0","2.8.1","2.8.0","2.7.0","2.5.0","2.3.0","2.2.1","2.2.0","2.1.0","2.0.0","1.7.8","1.7.7","1.2","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-44271.json"}}],"references":[{"type":"WEB","url":"https://devhub.checkmarx.com/cve-details/CVE-2023-44271/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/44xxx/CVE-2023-44271.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2JOEDUJDQLCUII2LQYZYSM7RJL2I3P4/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-44271"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/1fe1bb49c452b0318cad12ea9d97c3bef188e9a7"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/pull/7244"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/44xxx/CVE-2023-44271.json"}}