Pillow: Arrow export leaks stale heap memory when PILLOW_ALIGNMENT > 1
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| python-pillowPillow | — | Not listed |
| pipPillow |
< 13.0.0→ 13.0.0 |
13.0.0 |
| PyPIpillow |
≥ 11.2.1, < 13.0.0→ 13.0.0 |
13.0.0 |
| Bitnamipillow |
≥ 11.2.1, < 13.0.0→ 13.0.0 |
13.0.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-114501 pillow Fix available
- Ubuntu UBUNTU-CVE-2026-114501 pillow Fix available
Original description The description as published by the source.
Pillow is a Python imaging library. From 11.2.1 until 13.0.0, Arrow export assumes that an image's rows are tightly contiguous and exports from im->blocks[0].ptr even when PILLOW_ALIGNMENT makes aligned_linesize include row padding or an aligned offset before the first row. The resulting Arrow buffer can include uninitialized padding, bytes preceding the first row, or stale heap contents from previously freed images. Applications that configure alignment and export images to Arrow can therefore disclose one user's pixels or other process memory to another user. This issue is fixed in version 13.0.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com