Bug 1382006 (CVE-2016-9190) - CVE-2016-9190 python-pillow: Missing check for negative image dimensions in ImagingNew (Storage.c)
Summary: CVE-2016-9190 python-pillow: Missing check for negative image dimensions in I...
Alias: CVE-2016-9190
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1380811
Blocks: 1382009
TreeView+ depends on / blocked
Reported: 2016-10-05 13:51 UTC by Adam Mariš
Modified: 2021-02-17 03:13 UTC (History)
5 users (show)

Fixed In Version: python-pillow 3.3.2
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in python-pillow. A crafted image file with negative dimensions could cause a buffer to be under-allocated, leading to arbitrary writes on the heap which could cause a crash or, potentially, code execution.
Clone Of:
Last Closed: 2016-12-12 01:48:23 UTC

Attachments (Terms of Use)

Description Adam Mariš 2016-10-05 13:51:43 UTC
It was found that in storage.c, the image size is not checked for negative values. This can lead to a null pointer dereference in 3.3.x, or a dereference of junk memory prior to that.

Upstream patch:


Comment 1 Adam Mariš 2016-10-05 13:51:52 UTC

Name: the Pillow project

Comment 3 Doran Moppert 2016-12-12 02:06:03 UTC

Red Hat Product Security has rated this issue as having Moderate security
impact. This issue is not currently planned to be addressed in future
updates. For additional information, refer to the Issue Severity
Classification: https://access.redhat.com/security/updates/classification/.

Note You need to log in before you can comment on or make changes to this bug.