Out-of-bounds Read in Python Pillow

CVE-2021-25287

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

Vulnerability class: Buffer Overflow

EPSS: 0.029 (85.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-25287?
CVE-2021-25287 is a critical-severity vulnerability in Python Pillow, classified under Out-of-bounds Read. CVSS score: 9.1/10. Published 2021-06-02.
How severe is CVE-2021-25287?
Critical severity. CVSS v3 base score is 9.1 out of 10.
Is CVE-2021-25287 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.