vulnerability

FreeBSD: py-imaging, py-pillow -- Buffer overflow in PCD decoder

Severity
9
CVSS
(AV:N/AC:L/Au:N/C:C/I:N/A:C)
Published
Feb 2, 2016
Added
Feb 12, 2016
Modified
Feb 19, 2025

Description



The Pillow maintainers report:

In all versions of Pillow, dating back at least to the last PIL
1.1.7 release, PcdDecode.c has a buffer overflow error.
The state.buffer for PcdDecode.c is allocated based on a 3 bytes
per pixel sizing, where PcdDecode.c wrote into the buffer assuming
4 bytes per pixel. This writes 768 bytes beyond the end of the
buffer into other Python object storage. In some cases, this causes
a segfault, in others an internal Python malloc error.

Solutions

freebsd-upgrade-package-py27-imagingfreebsd-upgrade-package-py27-pillow
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.