REDHAT-BUG-1321929: Medium severity Pillow Pillow vulnerability

Published Mar 29, 2016
·
Updated

Pillow between 2.5.0 and 3.1.1 may overflow a buffer when reading rewriting a specially crafted Jpeg2000 file.

This occurs specifically in the function j2kencodeentry, at the line: state->buffer = malloc (tilewidth tileheight components prec / 8);

If this buffer is smaller than expected, the jpeg2k encoding functions will write outside the allocation and onto the heap, corrupting memory.

Reproducer and proposed fix can be found in original bug report:

https://bugzilla.redhat.com/showbug.cgi?id=1321422

Affected Software

1 affected component
Pillow Pillow>=2.5.0<3.1.1

Event History

Mar 29, 2016
Data Sourced
via Red Hat·11:53 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-1321929?

The severity of REDHAT-BUG-1321929 is categorized as medium (4).

2

How do I fix REDHAT-BUG-1321929?

To fix REDHAT-BUG-1321929, update the Pillow library to a version above 3.1.1.

3

What versions of Pillow are affected by REDHAT-BUG-1321929?

Pillow versions 2.5.0 to 3.1.1 are affected by REDHAT-BUG-1321929.

4

What type of vulnerability is REDHAT-BUG-1321929?

REDHAT-BUG-1321929 is a buffer overflow vulnerability that occurs when processing a specially crafted Jpeg2000 file.

5

In which function does REDHAT-BUG-1321929 occur?

REDHAT-BUG-1321929 occurs in the function j2k_encode_entry.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203