# CVE-2022-22817: python3-pillow: The python-pillow packages contain a Python image processing library that provides extensive file format support, an...

CVE-2022-22817 is fixed in 14 products on 1 platform, first by python-pil 5.1.0-1ubuntu0.8, released January 10, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-22817
- Priority: High
- CVSS: 9.8 (Important)
- EPSS: 0.0358
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 10, 2022

## Description

The python-pillow packages contain a Python image processing library that provides extensive file format support, an efficient internal representation, and powerful image-processing capabilities.  Security Fix(es):  * python-pillow: PIL.ImageMath.eval allows evaluation of arbitrary expressions (CVE-2022-22817)  * python-pillow: buffer over-read during initialization of ImagePath.Path in path_getbbox() in path.c (CVE-2022-22816)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | pillow Debian 12.15 (bookworm) | 9.0.0-1 | [DEBIAN-CVE-2022-22817](https://patchblox.com/security/data/fix/linux/debian-cve-2022-22817.md) | Jan 10, 2022 |
| Linux | pillow Debian 13.5 (trixie) | 9.0.0-1 | [DEBIAN-CVE-2022-22817](https://patchblox.com/security/data/fix/linux/debian-cve-2022-22817.md) | Jan 10, 2022 |
| Linux | pillow Debian 14 | 9.0.0-1 | [DEBIAN-CVE-2022-22817](https://patchblox.com/security/data/fix/linux/debian-cve-2022-22817.md) | Jan 10, 2022 |
| Linux | python-pil Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.8 | [python-pil 5.1.0-1ubuntu0.8](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-pil-5.1.0-1ubuntu0.8.md) | Jan 10, 2022 |
| Linux | python-pil.imagetk Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.8 | [python-pil.imagetk 5.1.0-1ubuntu0.8](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-pil.imagetk-5.1.0-1ubuntu0.8.md) | Jan 10, 2022 |
| Linux | python-pillow rocky 8 | 0:5.1.1-18.el8_5 | [RLSA-2022:0643](https://patchblox.com/security/data/fix/linux/rlsa-2022-0643.md) | Feb 22, 2022 |
| Linux | python-pillow-debuginfo amzn 2023 | 9.0.1-6.amzn2023.0.3 | [ALAS2023-2023-057](https://patchblox.com/security/data/fix/linux/alas2023-2023-057.md) | Feb 17, 2023 |
| Linux | python-pillow-debugsource amzn 2023 | 9.0.1-6.amzn2023.0.3 | [ALAS2023-2023-057](https://patchblox.com/security/data/fix/linux/alas2023-2023-057.md) | Feb 17, 2023 |
| Linux | python3-pil Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.8 | [python3-pil 5.1.0-1ubuntu0.8](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-pil-5.1.0-1ubuntu0.8.md) | Jan 10, 2022 |
| Linux | python3-pil Ubuntu 20.04 LTS (focal) | 7.0.0-4ubuntu0.6 | [python3-pil 7.0.0-4ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-pil-7.0.0-4ubuntu0.6.md) | Jan 10, 2022 |
| Linux | python3-pil.imagetk Ubuntu 18.04.6 LTS (bionic) | 5.1.0-1ubuntu0.8 | [python3-pil.imagetk 5.1.0-1ubuntu0.8](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-pil.imagetk-5.1.0-1ubuntu0.8.md) | Jan 10, 2022 |
| Linux | python3-pil.imagetk Ubuntu 20.04 LTS (focal) | 7.0.0-4ubuntu0.6 | [python3-pil.imagetk 7.0.0-4ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-pil.imagetk-7.0.0-4ubuntu0.6.md) | Jan 10, 2022 |
| Linux | python3-pillow RHEL 8 | 0:5.1.1-18.el8_5 | [RHSA-2022:0643](https://patchblox.com/security/data/fix/linux/rhsa-2022-0643.md) | Feb 22, 2022 |
| Linux | python3-pillow almalinux 8 | 5.1.1-18.el8_5 | [ALSA-2022:0643](https://patchblox.com/security/data/fix/linux/alsa-2022-0643.md) | Feb 22, 2022 |
| Linux | python3-pillow amzn 2023 | 9.0.1-6.amzn2023.0.3 | [ALAS2023-2023-057](https://patchblox.com/security/data/fix/linux/alas2023-2023-057.md) | Feb 17, 2023 |
| Linux | python3-pillow ol 8 | 0:5.1.1-18.el8_5 | [ELSA-2022-0643](https://patchblox.com/security/data/fix/linux/elsa-2022-0643.md) | Feb 23, 2022 |
| Linux | python3-pillow-debuginfo amzn 2023 | 9.0.1-6.amzn2023.0.3 | [ALAS2023-2023-057](https://patchblox.com/security/data/fix/linux/alas2023-2023-057.md) | Feb 17, 2023 |
| Linux | python3-pillow-devel RHEL 8 | 0:5.1.1-18.el8_5 | [RHSA-2022:0643](https://patchblox.com/security/data/fix/linux/rhsa-2022-0643.md) | Feb 22, 2022 |
| Linux | python3-pillow-devel almalinux 8 | 5.1.1-18.el8_5 | [ALSA-2022:0643](https://patchblox.com/security/data/fix/linux/alsa-2022-0643.md) | Feb 22, 2022 |
| Linux | python3-pillow-devel amzn 2023 | 9.0.1-6.amzn2023.0.3 | [ALAS2023-2023-057](https://patchblox.com/security/data/fix/linux/alas2023-2023-057.md) | Feb 17, 2023 |
| Linux | python3-pillow-devel ol 8 | 0:5.1.1-18.el8_5 | [ELSA-2022-0643](https://patchblox.com/security/data/fix/linux/elsa-2022-0643.md) | Feb 23, 2022 |
| Linux | python3-pillow-doc RHEL 8 | 0:5.1.1-18.el8_5 | [RHSA-2022:0643](https://patchblox.com/security/data/fix/linux/rhsa-2022-0643.md) | Feb 22, 2022 |
| Linux | python3-pillow-doc almalinux 8 | 5.1.1-18.el8_5 | [ALSA-2022:0643](https://patchblox.com/security/data/fix/linux/alsa-2022-0643.md) | Feb 22, 2022 |
| Linux | python3-pillow-doc ol 8 | 0:5.1.1-18.el8_5 | [ELSA-2022-0643](https://patchblox.com/security/data/fix/linux/elsa-2022-0643.md) | Feb 23, 2022 |
| Linux | python3-pillow-tk RHEL 8 | 0:5.1.1-18.el8_5 | [RHSA-2022:0643](https://patchblox.com/security/data/fix/linux/rhsa-2022-0643.md) | Feb 22, 2022 |
| Linux | python3-pillow-tk almalinux 8 | 5.1.1-18.el8_5 | [ALSA-2022:0643](https://patchblox.com/security/data/fix/linux/alsa-2022-0643.md) | Feb 22, 2022 |
| Linux | python3-pillow-tk amzn 2023 | 9.0.1-6.amzn2023.0.3 | [ALAS2023-2023-057](https://patchblox.com/security/data/fix/linux/alas2023-2023-057.md) | Feb 17, 2023 |
| Linux | python3-pillow-tk ol 8 | 0:5.1.1-18.el8_5 | [ELSA-2022-0643](https://patchblox.com/security/data/fix/linux/elsa-2022-0643.md) | Feb 23, 2022 |
| Linux | python3-pillow-tk-debuginfo amzn 2023 | 9.0.1-6.amzn2023.0.3 | [ALAS2023-2023-057](https://patchblox.com/security/data/fix/linux/alas2023-2023-057.md) | Feb 17, 2023 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
