CVE-2021-25293
Python vulnerability analysis and mitigation

Overview

An out-of-bounds read vulnerability (CVE-2021-25293) was discovered in Pillow, a Python imaging library, affecting versions before 8.1.1. The vulnerability was specifically identified in the SGIRleDecode.c component and has been present since Pillow version 4.3.0 (Debian Tracker, Pillow Docs).

Technical details

The vulnerability is classified as an out-of-bounds read issue in the SGIRleDecode.c component of Pillow. The issue was introduced in version 4.3.0 and affects all versions up to 8.1.1. The vulnerability was assigned a CVSS 3 Severity Score of 7.5 (High) (Ubuntu Security).

Impact

The vulnerability could potentially lead to unauthorized access to memory contents through out-of-bounds read operations when processing SGI RLE images (CVE Mitre).

Mitigation and workarounds

The vulnerability has been fixed in Pillow version 8.1.1 and later releases. Users are advised to upgrade to the patched version. For Gentoo users, the recommendation is to upgrade to version 8.2.0 or later using the command: emerge --ask --oneshot --verbose ">=dev-python/pillow-8.2.0" (Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management