Skip to main content
← All vulnerabilities
CVE-2025-48379GHSA-XG8H-J46F-W952BIT-PILLOW-2025-48379PYSEC-2025-61

Pillow Vulnerable to Write Buffer Overflow on BCn encoding

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • python-pillow Pillow

    From 11.2.0 · fixed in 11.3.0

  • pillowPyPI

    From 11.2.0 · fixed in 11.3.0

  • pillowPyPI

    From 11.2.0 · fixed in 11.3.0

References 4

GitHub · python-pillow/Pillow