CVE-2025-48379
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-01

Last updated on: 2025-10-15

Assigner: GitHub, Inc.

Description
Pillow is a Python imaging library. In versions 11.2.0 to before 11.3.0, there is a heap buffer overflow when writing a sufficiently large (>64k encoded with default settings) image in the DDS format due to writing into a buffer without checking for available space. This only affects users who save untrusted data as a compressed DDS image. This issue has been patched in version 11.3.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-01
Last Modified
2025-10-15
Generated
2026-05-07
AI Q&A
2025-07-01
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
python pillow 11.2.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart