Heap Buffer Overflow in Python Imaging Library Pillow Affects Multiple Versions
CVE-2025-48379
7.1HIGH
What is CVE-2025-48379?
Versions 11.2.0 to before 11.3.0 of the Pillow library, a popular Python imaging package, contain a vulnerability that allows a heap buffer overflow when processing large DDS format images exceeding 64k without proper boundary checks. This flaw could be exploited if an attacker persuades a user to save untrusted data as a compressed DDS image, leading to potential data corruption or execution of arbitrary code. The issue has been resolved in version 11.3.0.
Affected Version(s)
Pillow >= 11.2.0, < 11.3.0