VDB

CVE-2019-16865

CVE-2019-16865 PUBLISHED CVSS 7.5 HIGH

DOS attack in Pillow when processing specially crafted image files

Reported by mitre · Published October 4, 2019

pillow is fixed in 6.2.0 (PyPI)

An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pillowPyPI6.2.0
python-pillow-develAmazon Linux2.0.0-20.gitd1c6db8.amzn2.0.1
python-pillow-saneAmazon Linux2.0.0-20.gitd1c6db8.amzn2.0.1
python-pillow-tkAmazon Linux2.0.0-20.gitd1c6db8.amzn2.0.1
pillowUbuntu:Pro:14.04:LTS2.3.0-1ubuntu3.4+esm1
pillowpython6.2.0
pillowUbuntu:16.04:LTS3.1.2-0ubuntu1.3
pillowUbuntu:18.04:LTS5.1.0-1ubuntu0.2

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
amazon:2python-pillow-devel0
amazon:2python-pillow-sane0
amazon:2python-pillow-tk0
n/an/a*
PyPIPillow0
amazon:2python-pillow0
amazon:2python-pillow-doc0

Timeline

  • Oct 4, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (8 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (9 in total, the first dated here)
  • Sep 13, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-16865
vulnetix vdb fixes CVE-2019-16865

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-16865/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›