---
id: CVE-2026-112893
title: 'Pillow: Invalid free in FreeType glyph rendering when a stroker is active'
summary: >-
  Pillow is a Python imaging library. From 10.0.0 until 13.0.0, Pillow can free
  an invalid glyph pointer during FreeType rendering with an active stroker. If
  FT_Load_Glyph fails, cleanup may call FT_Done_Glyph on an uninitialized or
  stale …
severity: high
cvss: 8.2
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-457
  - CWE-763
vendor: python-pillow
product: Pillow
affected:
  - 'Pillow >= 10.0.0, < 13.0.0'
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T21:53:49.979Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112893'
references:
  - url: >-
      https://github.com/python-pillow/Pillow/security/advisories/GHSA-j4m9-6w36-pw47
    label: >-
      https://github.com/python-pillow/Pillow/security/advisories/GHSA-j4m9-6w36-pw47
  - url: >-
      https://github.com/python-pillow/Pillow/commit/a7416de7f3a43128179d2cf68df3240ea8dafe13
    label: >-
      https://github.com/python-pillow/Pillow/commit/a7416de7f3a43128179d2cf68df3240ea8dafe13
  - url: 'https://github.com/python-pillow/Pillow/releases/tag/13.0.0'
    label: 'https://github.com/python-pillow/Pillow/releases/tag/13.0.0'
tags:
  - cve.org
ingestedAt: '2026-10-19T22:46:42.330Z'
---

## Overview

Pillow is a Python imaging library. From 10.0.0 until 13.0.0, Pillow can free an invalid glyph pointer during FreeType rendering with an active stroker. If FT_Load_Glyph fails, cleanup may call FT_Done_Glyph on an uninitialized or stale glyph variable. An attacker can supply a malformed font as untrusted bytes to an application that draws text with a nonzero stroke width, forcing the glyph-load failure path. This can corrupt memory or crash the process. This issue is fixed in version 13.0.0.

## Affected

- `Pillow >= 10.0.0, < 13.0.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
