REDHAT-BUG-2497452: High severity Pillow Pillow vulnerability

Published Jul 6, 2026
·
Updated

Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdfchar() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image.decompressionbombcheck(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. This issue is fixed in version 12.3.0.

Affected Software

1 affected component
Pillow Pillow<12.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Pillow to a version that resolves this vulnerability.

    Fixed in 12.3.0

Event History

Jul 6, 2026
Data Sourced
via Red Hat·08:01 PM
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-2497452?

The severity of REDHAT-BUG-2497452 is categorized as high, with a risk score of 7.

2

How do I fix REDHAT-BUG-2497452?

To fix REDHAT-BUG-2497452, update Pillow to version 12.3.0 or later.

3

What is the impact of REDHAT-BUG-2497452?

The impact of REDHAT-BUG-2497452 is that attacker-controlled dimensions can be passed to Image.new(), which may lead to decompression bomb vulnerabilities.

4

Which versions of Pillow are affected by REDHAT-BUG-2497452?

Versions of Pillow prior to 12.3.0 are affected by REDHAT-BUG-2497452.

5

Is there a workaround for REDHAT-BUG-2497452?

There is no official workaround for REDHAT-BUG-2497452; upgrading to a patched version is recommended.

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