CVE-2022-22815: Medium severity Python Pillow vulnerability

Published Jan 7, 2022
·
Updated

pathgetbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.

Other sources

Pillow is the friendly PIL (Python Imaging Library) fork. pathgetbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.

— GitHub

Affected Software

20 affected componentsFixes available
pip/pillow<9.0.0
9.0.0
Python Pillow<9.0.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
redhat/pillow<9.0.0
9.0.0
alpine/py3-pillow<8.4.0-r2
8.4.0-r2
alpine/py3-pillow<9.0.0-r0
9.0.0-r0
alpine/py3-pillow<9.0.0-r0
9.0.0-r0
alpine/py3-pillow<9.0.0-r0
9.0.0-r0
alpine/py3-pillow<9.0.0-r0
9.0.0-r0
alpine/py3-pillow<9.0.0-r0
9.0.0-r0
alpine/py3-pillow<9.0.0-r0
9.0.0-r0
alpine/py3-pillow<9.0.0-r0
9.0.0-r0
alpine/py3-pillow<9.0.0-r0
9.0.0-r0
alpine/py3-pillow<9.0.0-r0
9.0.0-r0
debian/pillow<9.0.0-1
9.0.0-1
debian/pillow<9.0.0-1
9.0.0-1
debian/pillow<9.0.0-1
9.0.0-1
debian/pillow
4.0.0-4+deb9u45.4.1-2+deb10u38.1.2+dfsg-0.3+deb11u19.0.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/Pillow to a version that resolves this vulnerability.

    Fixed in 9.0.0
  2. Upgrade

    Upgrade redhat/Pillow to a version that resolves this vulnerability.

    Fixed in 9.0.0
  3. Upgrade

    Upgrade alpine/py3-pillow to a version that resolves this vulnerability.

    Fixed in 8.4.0-r2
  4. Upgrade

    Upgrade alpine/py3-pillow to a version that resolves this vulnerability.

    Fixed in 9.0.0-r0
  5. Upgrade

    Upgrade debian/pillow to a version that resolves this vulnerability.

    Fixed in 9.0.0-1
  6. Upgrade

    Upgrade debian/pillow to a version that resolves this vulnerability.

    Fixed in 4.0.0-4+deb9u4Fixed in 5.4.1-2+deb10u3Fixed in 8.1.2+dfsg-0.3+deb11u1Fixed in 9.0.0-1
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.0.0

Event History

Jan 7, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Jan 10, 2022
Data Sourced
02:12 PM
DescriptionSeverityWeaknessAffected Software
Jan 12, 2022
Advisory Published
08:07 PM
Jan 19, 2022
Data Sourced
via Red Hat·04:17 PM
DescriptionSeverityAffected Software
Apr 3, 2024
Advisory Published
via GitHub·08:28 PM
Data Sourced
via GitHub·08:28 PM
DescriptionSeverityWeaknessAffected Software
Jun 17, 2026
Updated
via NVD·04:29 AM
Affected Software
Nov 3, 2026
Data Sourced
via OSV·06:01 AM
Affected Software
Data Sourced
via OSV·08:02 AM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

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