Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

USN-5227-1

Active Moderate

pillow vulnerabilities

Published
13 Jan 2022, 13:26:09 UTC
Updated
24 Nov 2026, 09:37:18 UTC

Related CVEs

CVE identifiers linked by this publisher.

4
Publisher relationship details 4 records
Explicit publisher CVE relationships
CVE
CVE-2021-23437
CVE-2021-34552
CVE-2022-22815
CVE-2022-22816

Description

It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to hang, resulting in a denial of service. (CVE-2021-23437) It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were

Read full publisher description 1408 characters

It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to hang, resulting in a denial of service. (CVE-2021-23437) It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service. This issue ony affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 21.04. (CVE-2021-34552) It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2022-22815) It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service. (CVE-2022-22816) It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2022-22817)

No solution guidance was provided.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

5

Shared package data

Applies to all 5 occurrences
Ecosystem
Ubuntu:18.04:LTS
Fixed version
5.1.0-1ubuntu0.7
  1. 1pillowSource package

    Occurrence-specific details
    Package role
    Source package

    Versions

    • 4.1.1-3build2
    • 4.3.0-2ubuntu1
    • 5.0.0-1
    • 5.1.0-1
    • 5.1.0-1ubuntu0.2
    • 5.1.0-1ubuntu0.3
    • 5.1.0-1ubuntu0.4
    • 5.1.0-1ubuntu0.5
    • 5.1.0-1ubuntu0.6

    Affected ranges and events

    • ECOSYSTEMRepository Not supplied in this record
      • introduced: 0
      • Fixed at 5.1.0-1ubuntu0.7
  2. 2python-pilBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  3. 3python-pil.imagetkBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  4. 4python3-pilBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  5. 5python3-pil.imagetkBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

8
CVSS values preserved from advisory sources
ScopeVersionScoreSeveritySourceVector
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
ubuntu/bionicUnknownUnknownLowUbuntuUnknown
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ubuntu/bionicUnknownUnknownLowUbuntuUnknown
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
ubuntu/bionicUnknownUnknownModerateUbuntuUnknown
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
ubuntu/bionicUnknownUnknownLowUbuntuUnknown

Publisher references

6

Provenance

Schema version
1.9.2
Parser version
ubuntu-osv/1
Data license
CC-BY-SA-4.0
Attribution
Canonical / Ubuntu Security Team
Severity origin
publisher

No publisher provenance records were supplied.

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected