VDB

CVE-2022-22816

CVE-2022-22816 PUBLISHED CVSS 6.5 MEDIUM

Out-of-bounds Read in Pillow

Reported by mitre · Published January 7, 2022

Pillow is fixed in 9.0.0 (PyPI)

path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.

Fixed versions

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

PackageEcosystemFixed in
PillowPyPI9.0.0
python-pillowAmazon Linux2.0.0-23.gitd1c6db8.amzn2.0.1
python-pillow-docAmazon Linux2.0.0-23.gitd1c6db8.amzn2.0.1
py3-pillowAlpine9.0.0-r0, 8.4.0-r2
python3-pillow-develAmazon Linux9.0.1-6.amzn2023.0.3
python-pillow-tkAmazon Linux2.0.0-23.gitd1c6db8.amzn2.0.1
python-pillow-saneAmazon Linux2.0.0-23.gitd1c6db8.amzn2.0.1
pillowBitnami9.0.0
pillowpython9.0.0

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
amazon:2python-pillow0
PyPIPillow0
amazon:2python-pillow-doc0
alpinepy3-pillow0, 0
amazon:2023python3-pillow-devel0
amazon:2python-pillow-tk0
amazon:2python-pillow-sane0
n/an/a*
amazon:2python-pillow-devel0
amazon:2023python3-pillow-tk0
amazon:2023python3-pillow0

Timeline

  • Jan 7, 2022 CVE Published
  • Feb 8, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory (9 in total, the first dated here)
  • Jul 6, 2026 Coalition ESS Score
  • Oct 31, 2026 Distribution Patch (6 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-22816
vulnetix vdb fixes CVE-2022-22816

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-2022-22816/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 ›