# CVE-2023-44271: Pillow Denial of Service vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.36%, higher than 72% of CVEs (2026-12-01)
- Published: 2023-11-03T00:00:00.000Z
- Modified: 2026-09-08T08:48:18.434Z
- Also known as: GHSA-8ghj-p4vj-mr35, BIT-PILLOW-2023-44271, PYSEC-2023-227
- Weaknesses: CWE-400, CWE-770
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pillow (PyPI): before 10.0.0; before 1fe1bb49c452b0318cad12ea9d97c3bef188e9a7
- python pillow: before 10.0.0
- fedoraproject fedora: 38
- pillow (Bitnami): before 10.0.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python-pillow/Pillow/pull/7244> (fix, patch, web)
- <https://github.com/python-pillow/Pillow/commit/1fe1bb49c452b0318cad12ea9d97c3bef188e9a7> (fix, patch, web)
- <https://devhub.checkmarx.com/cve-details/CVE-2023-44271/> (advisory, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2JOEDUJDQLCUII2LQYZYSM7RJL2I3P4/> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-44271> (advisory, web)
- <https://devhub.checkmarx.com/cve-details/CVE-2023-44271> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2023-227.yaml> (web)
- <https://github.com/python-pillow/Pillow> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2JOEDUJDQLCUII2LQYZYSM7RJL2I3P4> (web)
- <https://github.com/advisories/GHSA-8ghj-p4vj-mr35> (advisory)

## Sources

- CVE List: [CVE-2023-44271](https://www.cve.org/CVERecord?id=CVE-2023-44271), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-8ghj-p4vj-mr35](https://github.com/advisories/GHSA-8ghj-p4vj-mr35), CC-BY-4.0, modified 2024-10-14
- NVD: [CVE-2023-44271](https://nvd.nist.gov/vuln/detail/CVE-2023-44271), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-227](https://osv.dev/vulnerability/PYSEC-2023-227), CC-BY-4.0, modified 2026-06-10
- Bitnami Vulnerability Database: [BIT-PILLOW-2023-44271](https://osv.dev/vulnerability/BIT-PILLOW-2023-44271), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-44271 · Whole record: https://cve.day/CVE-2023-44271.json · Rebuilt by cve.day 2026-11-25T22:58:30.004Z
