Bug 1305004

Summary: python-pillow: Buffer overflow in PcdDecode.c
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: manisandro, miminar, tsmetana
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-pillow 3.1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-08 09:09:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1305005    
Bug Blocks: 1305006    

Description Adam Mariš 2016-02-05 10:01:50 UTC
A buffer overflow vulnerability was found in PcdDecode.c, where PCD decoder overruns shuffle buffer by writing 4 bytes into 3 byte per pixel wide buffer, allowing to write 768 bytes off the end of the buffer. This overwrites objects in Python's stack, leading to a crash.

Upstream bug report:

https://github.com/python-pillow/Pillow/pull/1706

CVE request:

http://openwall.com/lists/oss-security/2016/02/02/5

Comment 1 Adam Mariš 2016-02-05 10:02:13 UTC
Created python-pillow tracking bugs for this issue:

Affects: fedora-all [bug 1305005]

Comment 2 Stefan Cornelius 2016-02-08 09:09:20 UTC

*** This bug has been marked as a duplicate of bug 1304504 ***

Comment 3 Fedora Update System 2016-02-09 20:53:23 UTC
python-pillow-3.0.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2016-02-21 02:20:53 UTC
python-pillow-2.8.2-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.