|
|
Log in / Subscribe / Register

pillow: code execution

Package(s):pillow CVE #(s):CVE-2016-2533
Created:February 29, 2016 Updated:March 2, 2016
Description: From the Red Hat bugzilla:

A heap-based buffer overflow flaw was reported in Pillow's PCD decoding. By tricking an unsuspecting user or automated script into processing a specially crafted PCD image file, an attacker could cause the Python process to crash, or, potentially, execute arbitrary code with the privileges of the Python script processing the image.

The problem is that the "ImagingPcdDecode()" function in PcdDecode.c increases a the unpack buffer pointer by 4 bytes (=32bit color), although the buffer is only supposed to hold 24bits of color (=3 bytes). This ultimately leads to an array indexing error resulting in an out-of-bounds write.

Alerts:
Ubuntu USN-3090-2 pillow 2016-09-30
Ubuntu USN-3090-1 Pillow 2016-09-27
Ubuntu USN-3080-1 python-imaging 2016-09-15
Gentoo 201612-52 pillow 2016-12-31
Debian DSA-3499-1 pillow 2016-02-28

to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds