CVE-2021-25287

CRITICALNVD 9.19.1
EchelonGraph scoreMEDIUM confidence

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

Score 9.1 from GitHub Security Advisory (severity: HIGH) published 2021-06-08. NVD baseline CVSS 9.1; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3

Also known asEUVD-2021-0167 (ENISA EUVD) · GHSA-77gc-v2xv-rvvh (GitHub Security Advisories) · PYSEC-2021-137 (OSV.dev)Source: ENISA EUVD

9.1EG
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: 2.9%CVSS: 9.1Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.

CVSS v3
9.1
EG Score
9.1CRITICALmedium confidence
EG Risk
42
EG Risk 42/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)
Severity91% × 45%
Impact severity (EG Severity): CVSS 9.1 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation2.9% × 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
2.9%
EPSS %ILE
87th
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.1): severity, escalated by confirmed exploitation. This CVE's 9.1 is its impact severity (EG Severity), not escalated.

EG Severity
9.1 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
2.9% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-23). 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

Source timeline

Each source's own date for this CVE, as that source states it, in UTC. For vendor and authority advisories, each publisher's earliest advisory is shown, for at most 12 publishers, and only for publishers whose advisory dates we hold as the publisher's own publication time. The EchelonGraph column shows when our collectors recorded the event, only where that was within 72 hours of the source's date (for a row without one, of the CVE's publication).

SourceEventSource's dateRecorded by EchelonGraphLink
CVE.orgMITRE · CVE ProgramCVE Record published2 Jun 2021, 15:13 UTCrecorded later, in a bulk import or a late collectionCVE.org record
GitHub Advisory DatabaseGitHub Advisory Database (CC BY 4.0)LicenceGitHub advisory publishedGHSA-77gc-v2xv-rvvh8 Jun 2021, 18:49 UTCrecorded later, in a bulk import or a late collectionGitHub advisory
Red Hat Product Security© Red Hat, Inc. (CC BY 4.0)LicenceVendor advisory publishedRHSA-2021:41499 Nov 2021, 17:42 UTCrecorded later, in a bulk import or a late collectionRed Hat Product Security advisory
CVE.orgMITRE · CVE ProgramCVE Record last updated3 Aug 2024, 19:56 UTC—CVE.org record

Advisory Details (4)

Auto-updated Jul 21, 2026
Patch available. Sources: github_pr.
Web page

Pillow: Multiple vulnerabilities (GLSA 202107-33) — Gentoo security

https://security.gentoo.org/glsa/202107-33
Web page

[SECURITY] Fedora 33 Update: mingw-python-pillow-7.2.0-6.fc33 - package-announce - Fedora mailing-lists

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/
GitHub pull request Patch Available

Security fixes for 8.2.0

Patch available: python-pillow/Pillow 8.2.0 (PR #5377 merged 2021-04-01)

https://github.com/python-pillow/Pillow/pull/5377#issuecomment-833821470

Vendor Advisories for CVE-2021-25287(2)

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

Patch Availability(4)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntupython3-pil (8.1.2-1ubuntu0.1) @ hirsute2026-11-20ubuntu
ubuntupython3-pil.imagetk (3.1.2-0ubuntu1.6+esm3) @ xenial2026-11-20ubuntu
redhatpython-pillow-0:5.1.1-16.el82021-11-09redhat
pipPillow @ 8.2.0 (fixes >= 2.4.0, < 8.2.0)—ghsa

These rows come from Ubuntu, Red Hat and GitHub (GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(16 across 16 ecosystems)
Alpine:v3.14(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Alpine:v3.15(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Alpine:v3.16(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Alpine:v3.17(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Alpine:v3.18(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Alpine:v3.19(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Alpine:v3.20(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Alpine:v3.21(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Alpine:v3.22(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Alpine:v3.23(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Alpine:v3.24(1)
PackageVulnerable rangeFix by version rangeDependents
py3-pillow—
  • every version up to 8.2.0-r0: fixed in 8.2.0-r0
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 8.1.2+dfsg-0.2: fixed in 8.1.2+dfsg-0.2
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 8.1.2+dfsg-0.2: fixed in 8.1.2+dfsg-0.2
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 8.1.2+dfsg-0.2: fixed in 8.1.2+dfsg-0.2
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
pillow—
  • every version up to 8.1.2+dfsg-0.2: fixed in 8.1.2+dfsg-0.2
—
PyPI(1)
PackageVulnerable rangeFix by version rangeDependents
pillow1.0 ... 8.1.2 (79 versions)
  • 2.4.0 up to 8.2.0: fixed in 8.2.0
  • every version up to 8.2.0: fixed in 8.2.0
—

Weakness Classification(1)

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

Additional Vendor Advisories

(2)

Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.

Data Freshness Timeline

(refreshed 20× in last 7d / 83× 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 its CVE.org record (CNA or CISA ADP). 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). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 336 rows 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. None are among the latest 100 rows. The 236 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

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

Frequently asked(5)

What is CVE-2021-25287?
CVE-2021-25287 is a critical-severity vulnerability; its CVE record was published on June 2, 2021. An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
When was the CVE record for CVE-2021-25287 published?
The CVE record for CVE-2021-25287 was published on June 2, 2021. That is the record's publication date; the vulnerability itself may have been made public earlier. CVE.org's record carries a last-updated date of August 3, 2024; it may have been updated since EchelonGraph last read it.
Is CVE-2021-25287 actively exploited?
CVE-2021-25287 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 2.9% probability of exploitation in the next 30 days (87th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2021-25287?
CVE-2021-25287 has a CVSS v3 base score of 9.1 (NVD).
How do I remediate CVE-2021-25287?
A fix for CVE-2021-25287 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2021-25287 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-2021-25287

Explore →

Is Your Infrastructure Affected by CVE-2021-25287?

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