Out-of-bounds Read in Python Pillow

CVE-2021-25288

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

Vulnerability class: Buffer Overflow

EPSS: 0.023 (81.8th 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-25288?
CVE-2021-25288 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-25288?
Critical severity. CVSS v3 base score is 9.1 out of 10.
Is CVE-2021-25288 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.