USN-5777-2

Type: Security
Severity: Low
Published: 2022-12-14
Ubuntu 20.04 LTS (Focal Fossa)

USN-5777-1 fixed vulnerabilities in Pillow (Python 3). This update provides the corresponding updates for Pillow (Python 2) in Ubuntu 20.04 LTS. Original advisory details: 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-2` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python-pil - 6.2.1-3ubuntu0.1~esm1 python-pil.imagetk - 6.2.1-3ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:47:41.555Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-27T23:47:41.555Z UTC. Last updated 2025-11-26T08:04:44.154Z UTC.

Upstream Advisory

Affected Packages

  • python-pil 6.2.1-3ubuntu0.1~esm1-6.2.1-3ubuntu0.1~esm1

  • python-pil.imagetk 6.2.1-3ubuntu0.1~esm1-6.2.1-3ubuntu0.1~esm1

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