VDB

CVE-2020-5312

CVE-2020-5312 PUBLISHED CVSS 9.800000190734863 CRITICAL

libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.

Reported by mitre · Published January 3, 2020

pillow is fixed in 93b22b846e0269ee9594ff71a72bec02d2bea8fd and 6.2.2 (PyPI)

libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.

Fixed versions

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

PackageEcosystemFixed in
pillowPyPI93b22b846e0269ee9594ff71a72bec02d2bea8fd, 6.2.2
pillowBitnami6.2.2
python-pillowAmazon Linux2.0.0-20.gitd1c6db8.amzn2.0.1
pillowUbuntu:18.04:LTS5.1.0-1ubuntu0.2
pillowUbuntu:16.04:LTS3.1.2-0ubuntu1.3
pillowpython6.2.2

Risk scores

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

Affected products

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

Timeline

  • Jan 3, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Mar 6, 2026 Distribution Patch (8 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (9 in total, the first dated here)
  • Aug 30, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-5312
vulnetix vdb fixes CVE-2020-5312

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-2020-5312/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 ›