Skip to main content

Heap-based Buffer Overflow

CVE-2025-48379

Severity Medium
Score 5.5/10

Summary

Pillow is a Python imaging library. In versions 11.2.0 and 11.2.1, there is a Heap-based 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.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • NONE
  • LOW
  • NONE
  • NONE

CWE-122 - Heap-based Buffer Overflow

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().

Advisory Timeline

  • Published