CVE-2020-5312

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2021-11-03. NVD baseline CVSS 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Trending — 4 sources updated this week

Also known asEUVD-2020-0136 (ENISA EUVD) · GHSA-p49h-hjvm-jg3h (GitHub Security Advisories)Source: ENISA EUVD

9.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 3.7%CVSS: 9.8Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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

CVSS v3
9.8
EG Score
9.8CRITICALmedium confidence
EG Risk
46
EG Risk 46/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity98% × 45%
Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation3.7% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
3.7%
EPSS %ILE
89th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.

EG Severity
9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
3.7% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-01). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Track* at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines.

Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

January 3, 2020

Last Modified

November 21, 2024

Advisory Details (10)

Auto-updated Oct 4, 2026
Patch available. Sources: redhat, github_commit.
Web page

6.2.2 (2020-01-02) - Pillow (PIL Fork) 12.3.0 documentation

https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
Web page

[SECURITY] Fedora 30 Update: python-pillow-5.4.1-4.fc30 - package-announce - Fedora mailing-lists

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
Web page

[SECURITY] Fedora 31 Update: python-pillow-6.2.2-1.fc31 - package-announce - Fedora mailing-lists

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
GitHub commit

commit 93b22b846e02 (python-pillow/Pillow)

Fix landed in python-pillow/Pillow commit 93b22b846e02 — awaiting tagged release

https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2020:0694
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2020:0683
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2020:0681
Red HatMentions a patch (unverified)

Affected: Red Hat Enterprise Linux 8.

https://access.redhat.com/errata/RHSA-2020:0580
Red HatMentions a patch (unverified)

Affected: Red Hat Enterprise Linux 7.

https://access.redhat.com/errata/RHSA-2020:0578
Red HatMentions a patch (unverified)

Affected: Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions.

https://access.redhat.com/errata/RHSA-2020:0566

Vendor Advisories for CVE-2020-5312(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(7)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntupython3-pil.imagetk (3.1.2-0ubuntu1.3) @ xenial2026-11-02ubuntu
redhatquay/quay-rhel8:v3.4.0-512021-02-04redhat
redhatpython-imaging-0:1.1.6-20.el6_102020-03-18redhat
redhatpython-pillow-0:2.0.0-20.gitd1c6db8.el7_72020-02-24redhat
redhatpython-pillow-0:5.1.1-10.el8_12020-02-24redhat
redhatpython-pillow-0:5.1.1-10.el8_02020-02-20redhat
pipPillow @ 6.2.2 (fixes < 6.2.2)—ghsa

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(12 across 12 ecosystems)
Alpine:v3.12(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 6.2.2-r0: fixed in 6.2.2-r0
—
Alpine:v3.13(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 6.2.2-r0: fixed in 6.2.2-r0
—
Alpine:v3.14(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 6.2.2-r0: fixed in 6.2.2-r0
—
Alpine:v3.15(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 6.2.2-r0: fixed in 6.2.2-r0
—
Debian:10(1)
PackageVulnerable rangeFix by version rangeDependents
pillow5.4.1-2
  • every version up to 5.4.1-2+deb10u1: fixed in 5.4.1-2+deb10u1
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 7.0.0-1: fixed in 7.0.0-1
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 7.0.0-1: fixed in 7.0.0-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 7.0.0-1: fixed in 7.0.0-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 7.0.0-1: fixed in 7.0.0-1
—
Debian:8(1)
PackageVulnerable rangeFix by version rangeDependents
pillow2.6.1-2, 2.6.1-2+deb8u1, 2.6.1-2+deb8u2, 2.6.1-2+deb8u3
  • every version up to 2.6.1-2+deb8u4: fixed in 2.6.1-2+deb8u4
—
Debian:9(1)
PackageVulnerable rangeFix by version rangeDependents
pillow4.0.0-4
  • every version up to 4.0.0-4+deb9u1: fixed in 4.0.0-4+deb9u1
—
PyPI(1)
PackageVulnerable rangeFix by version rangeDependents
pillow1.0 ... 6.2.1 (68 versions)
  • every version up to 6.2.2: fixed in 6.2.2
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(5)

Data Freshness Timeline

(refreshed 23× in last 7d / 74× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 97 of 230 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 3 repeat rows among the latest 100 are merged into the row they repeat. The 133 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-02 09:55 UTCEG score recompute
  2. 2026-11-02 09:55 UTCVendor advisory
  3. 2026-11-02 09:55 UTCGHSA enrichmentGHSA-p49h-hjvm-jg3h · GitHub severity CRITICAL · GitHub CVSS 9.8
  4. 2026-11-01 09:47 UTCVendor advisory
  5. 2026-11-01 09:47 UTCGHSA enrichmentGHSA-p49h-hjvm-jg3h · GitHub severity CRITICAL · GitHub CVSS 9.8
  6. 2026-11-01 08:35 UTCGHSA enrichmentGHSA-p49h-hjvm-jg3h · GitHub severity CRITICAL · GitHub CVSS 9.8
  7. 2026-11-01 08:35 UTCEG score recompute
  8. 2026-10-31 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  9. 2026-10-31 09:39 UTCEG score recompute
  10. 2026-10-31 09:39 UTCVendor advisory
  11. 2026-10-30 16:29 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  12. 2026-10-30 09:32 UTCEG score recompute
  13. 2026-10-30 09:32 UTCVendor advisory
  14. 2026-10-29 16:29 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  15. 2026-10-29 09:25 UTCEG score recompute
  16. 2026-10-29 09:25 UTCVendor advisory
  17. 2026-10-28 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  18. 2026-10-28 09:17 UTCEG score recompute
  19. 2026-10-28 09:17 UTCVendor advisory
  20. 2026-10-27 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  21. 2026-10-27 08:33 UTCEG score recompute
  22. 2026-10-27 08:33 UTCVendor advisory
  23. 2026-10-26 16:27 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  24. 2026-10-26 06:15 UTCVendor advisory
  25. 2026-10-25 18:41 UTCEG score recompute
Show 72 more
  1. 2026-10-25 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  2. 2026-10-25 06:08 UTCEG score recompute
  3. 2026-10-25 06:08 UTCVendor advisory
  4. 2026-10-24 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  5. 2026-10-24 06:00 UTCEG score recompute
  6. 2026-10-24 06:00 UTCVendor advisory
  7. 2026-10-23 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  8. 2026-10-23 05:52 UTCEG score recompute
  9. 2026-10-23 05:52 UTCVendor advisory
  10. 2026-10-22 16:29 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  11. 2026-10-22 05:45 UTCEG score recompute
  12. 2026-10-22 05:45 UTCVendor advisory
  13. 2026-10-21 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  14. 2026-10-21 05:34 UTCEG score recompute
  15. 2026-10-21 05:34 UTCVendor advisory
  16. 2026-10-20 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  17. 2026-10-20 05:26 UTCEG score recompute
  18. 2026-10-20 05:26 UTCVendor advisory
  19. 2026-10-19 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  20. 2026-10-19 05:18 UTCEG score recompute
  21. 2026-10-19 05:18 UTCVendor advisory
  22. 2026-10-18 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  23. 2026-10-18 05:09 UTCEG score recompute
  24. 2026-10-18 05:09 UTCVendor advisory
  25. 2026-10-17 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  26. 2026-10-17 05:01 UTCEG score recompute
  27. 2026-10-17 05:01 UTCVendor advisory
  28. 2026-10-16 16:33 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  29. 2026-10-16 04:51 UTCEG score recompute
  30. 2026-10-16 04:51 UTCVendor advisory
  31. 2026-10-15 16:27 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  32. 2026-10-15 03:14 UTCEG score recompute
  33. 2026-10-15 03:14 UTCVendor advisory
  34. 2026-10-14 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  35. 2026-10-13 23:27 UTCEG score recompute
  36. 2026-10-13 23:27 UTCVendor advisory
  37. 2026-10-13 16:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  38. 2026-10-12 19:34 UTCVendor advisory
  39. 2026-10-12 19:33 UTCEG score recompute
  40. 2026-10-12 16:29 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  41. 2026-10-11 23:57 UTCEG score recompute
  42. 2026-10-11 13:43 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  43. 2026-10-10 19:56 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  44. 2026-10-09 20:04 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  45. 2026-10-08 16:39 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  46. 2026-10-07 23:44 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  47. 2026-10-06 15:13 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  48. 2026-10-05 17:40 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  49. 2026-10-03 14:22 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  50. 2026-10-02 16:22 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  51. 2026-10-01 19:46 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  52. 2026-09-30 15:20 UTCEG score recompute
  53. 2026-09-30 14:59 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  54. 2026-09-27 13:41 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  55. 2026-09-27 12:20 UTCOSV refresh
  56. 2026-09-26 15:54 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  57. 2026-09-26 00:21 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  58. 2026-09-24 14:00 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  59. 2026-09-22 14:44 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  60. 2026-09-21 20:28 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  61. 2026-09-19 15:37 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  62. 2026-09-18 19:23 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  63. 2026-09-17 19:22 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  64. 2026-09-16 14:04 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  65. 2026-09-15 03:06 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  66. 2026-09-12 14:57 UTCEPSS rescoreEPSS 3.7% · 89th percentile
  67. 2026-09-08 21:56 UTCEPSS rescoreEPSS 3.7% · 88th percentile
  68. 2026-09-07 21:48 UTCOSV refresh
  69. 2026-09-07 15:58 UTCEPSS rescoreEPSS 3.7% · 88th percentile
  70. 2026-09-06 13:44 UTCEPSS rescoreEPSS 3.7% · 88th percentile
  71. 2026-09-05 15:25 UTCEPSS rescoreEPSS 3.7% · 88th percentile
  72. 2026-09-04 13:57 UTCEPSS rescoreEPSS 3.7% · 88th percentile

Frequently asked(5)

What is CVE-2020-5312?
CVE-2020-5312 is a critical-severity vulnerability; its CVE record was published on January 3, 2020. libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
When was the CVE record for CVE-2020-5312 published?
The CVE record for CVE-2020-5312 was published on January 3, 2020. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of November 21, 2024; the record at its source may have been updated since.
Is CVE-2020-5312 actively exploited?
CVE-2020-5312 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 3.7% probability of exploitation in the next 30 days (89th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2020-5312?
CVE-2020-5312 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2020-5312?
A fix for CVE-2020-5312 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2020-5312 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2020-5312

Explore →

Is Your Infrastructure Affected by CVE-2020-5312?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.