Security mailing lists by PureSourceCode

CVE-2021-25288

CRITICAL 9.1CVSS 3.1

Pillow Out-of-bounds Read vulnerability

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

Published
2 Jun 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-125
Also known as
BIT-pillow-2021-25288GHSA-rwv7-3v45-hg29PYSEC-2021-138
Sources
NVDJSONOSV GHSA-rwv7-3v45-hg29JSONOSV PYSEC-2021-138JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.4 AV:N/AC:L/Au:N/C:P/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python pillow
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
< 8.2.0 8.2.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
OSV PyPI pillow >= 2.4.0, < 8.2.0 8.2.0
OSV PyPI pillow < 8.2.0 8.2.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 2 Jun 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jun 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Jun 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.