7.5
CWE
400
Advisory Published
Advisory Published
Updated

CVE-2022-45199

First published: Mon Nov 14 2022(Updated: )

Pillow starting with 9.2.0 and prior to 9.3.0 allows denial of service via SAMPLESPERPIXEL. A large value in the SAMPLESPERPIXEL tag could lead to a memory and runtime DOS in TiffImagePlugin.py when setting up the context for image decoding. This issue has been patched in version 9.3.0.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
pip/pillow>=9.2.0<9.3.0
9.3.0
Python Pillow<9.3.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this issue?

    The vulnerability ID for this issue is CVE-2022-45199.

  • What is the severity of CVE-2022-45199?

    The severity of CVE-2022-45199 is high, with a severity value of 7.5.

  • How does Pillow before 9.3.0 allow denial of service?

    Pillow before 9.3.0 allows denial of service by not properly handling a large value in the SAMPLESPERPIXEL tag, which can lead to a memory and runtime denial of service in TiffImagePlugin.py.

  • How can I fix CVE-2022-45199?

    You can fix CVE-2022-45199 by updating your Pillow package to version 9.3.0 or later.

  • Where can I find more information about CVE-2022-45199?

    You can find more information about CVE-2022-45199 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-45199), [GitHub PR](https://github.com/python-pillow/Pillow/pull/6700), [GitHub Commit](https://github.com/python-pillow/Pillow/commit/2444cddab2f83f28687c7c20871574acbb6dbcf3).

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203