GHSA-56pw-mpj4-fxww: Bundled libwebp in Pillow vulnerable
N/A
CVSS Score
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
-
Published
10/5/2023
Updated
10/5/2023
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| pillow | pip | < 10.0.1 | 10.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from Pillow bundling a vulnerable version of libwebp (prior to 1.3.2), specifically due to the libwebp function ReadHuffmanCodes() causing a heap buffer overflow (CVE-2023-4863/CVE-2023-5129). Pillow's own Python code does not contain the vulnerable function; the flaw resides in the underlying libwebp C library included in Pillow's wheels. The fix in Pillow v10.0.1 was to update the bundled libwebp binary, not to modify Pillow's code. Thus, no specific Pillow functions are directly vulnerable with high confidence—the issue lies in the dependency, not in Pillow's codebase.