USN-5777-1

Type: Security
Severity: Low
Published: 2022-12-13
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

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

Data current

Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T05:50:43.533Z UTC. Last updated 2025-11-26T07:41:37.665Z 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

Interested in being alerted when there are new versions of python3-pil.imagetk and the other packages? Set up an alert.
USN-5777-1: Pillow vulnerabilities | Package Alert