{"id":"CVE-2023-44271","aliases":["CVE-2023-44271","GHSA-8ghj-p4vj-mr35","BIT-PILLOW-2023-44271","PYSEC-2023-227"],"related":[],"kind":"vulnerability","state":"published","title":"Pillow Denial of Service vulnerability","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en Pillow antes de la versión 10.0.0. Es una Denegación de Servicio que asigna memoria de forma incontrolable para procesar una tarea determinada, lo que puede provocar que un servicio falle al quedarse sin memoria. Esto ocurre para truetype en ImageFont cuando la longitud del texto en una instancia de ImageDraw opera con un argumento de texto largo.","source":"nvd"}],"published":"2023-11-03T00:00:00.000Z","modified":"2026-09-08T08:48:18.434Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"10.0.0"}],"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"10.0.0"}],"vendor":"python","product":"pillow","cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"38"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"1fe1bb49c452b0318cad12ea9d97c3bef188e9a7"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"10.0.0"}],"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","repo":"https://github.com/python-pillow/Pillow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"10.0.0"}],"ecosystem":"Bitnami","package":"pillow","purl":"pkg:bitnami/pillow","source":"bitnami"}],"references":[{"url":"https://github.com/python-pillow/Pillow/pull/7244","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/python-pillow/Pillow/commit/1fe1bb49c452b0318cad12ea9d97c3bef188e9a7","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://devhub.checkmarx.com/cve-details/CVE-2023-44271/","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2JOEDUJDQLCUII2LQYZYSM7RJL2I3P4/","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-44271","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://devhub.checkmarx.com/cve-details/CVE-2023-44271","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2023-227.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/python-pillow/Pillow","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2JOEDUJDQLCUII2LQYZYSM7RJL2I3P4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8ghj-p4vj-mr35","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-44271","url":"https://www.cve.org/CVERecord?id=CVE-2023-44271","licence":"CVE Terms of Use","modified":"2024-08-02T19:59:51.982Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8ghj-p4vj-mr35","url":"https://github.com/advisories/GHSA-8ghj-p4vj-mr35","licence":"CC-BY-4.0","modified":"2024-10-14T21:23:45.339Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-44271","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-44271","licence":"Public domain","modified":"2026-06-17T06:27:15.850Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-227","url":"https://osv.dev/vulnerability/PYSEC-2023-227","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:31.597Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PILLOW-2023-44271","url":"https://osv.dev/vulnerability/BIT-PILLOW-2023-44271","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.434Z"}],"updatedAt":"2026-11-25T22:58:30.004Z","epss":{"score":0.0136,"percentile":0.7252,"date":"2026-12-01T12:00:22.000Z"}}