USN-5777-1
It was discovered that Pillow incorrectly handled the deletion of temporary files when using a temporary directory that contains spaces. An attacker could possibly use this issue to delete arbitrary files. This issue only affected Ubuntu 20.04 LTS. (CVE-2022-24303) It was discovered that Pillow incorrectly handled the decompression of highly compressed GIF data. An attacker could possibly use this issue to cause Pillow to crash, resulting in a denial of service. (CVE-2022-45198) Update Instructions: Run `sudo pro fix USN-5777-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python3-pil.imagetk - 9.0.1-1ubuntu0.1 python-pil-doc - 9.0.1-1ubuntu0.1 python3-pil - 9.0.1-1ubuntu0.1 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC
Upstream Advisory
Affected Packages
python3-pil.imagetk 9.0.1-1ubuntu0.1-9.0.1-1ubuntu0.1
python-pil-doc 9.0.1-1ubuntu0.1-9.0.1-1ubuntu0.1
python3-pil 9.0.1-1ubuntu0.1-9.0.1-1ubuntu0.1
python3-pil.imagetk 7.0.0-4ubuntu0.7-7.0.0-4ubuntu0.7
python-pil-doc 7.0.0-4ubuntu0.7-7.0.0-4ubuntu0.7
python3-pil 7.0.0-4ubuntu0.7-7.0.0-4ubuntu0.7