Skip to content
Medium 6.3

Pillow: Arrow export leaks stale heap memory when PILLOW_ALIGNMENT > 1

CVE-2026-114501 First seen on SecPulse

Affected packages

PackageAffected → Fixed
python-pillowPillow —
pipPillow
< 13.0.0→ 13.0.0
PyPIpillow
≥ 11.2.1, < 13.0.0→ 13.0.0
Bitnamipillow
≥ 11.2.1, < 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.

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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details