CVE-2025-48379
BaseFortify
Publication date: 2025-07-01
Last updated on: 2025-10-15
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| python | pillow | 11.2.1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-122 | A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a heap buffer overflow in the Pillow Python imaging library versions 11.2.0 to before 11.3.0. It occurs when saving a sufficiently large DDS image (greater than 64k encoded with default settings) because the software writes data into a buffer without checking if there is enough space. This can lead to memory corruption.
How can this vulnerability impact me? :
If you save untrusted data as a compressed DDS image using affected Pillow versions, this vulnerability can cause a heap buffer overflow, potentially leading to application crashes or allowing an attacker to execute arbitrary code or cause denial of service.
What immediate steps should I take to mitigate this vulnerability?
Update the Pillow library to version 11.3.0 or later, as this version contains the patch for the heap buffer overflow vulnerability. Additionally, avoid saving untrusted data as compressed DDS images until the update is applied.