Heap-based buffer overflow in Pillow - CVE-2025-48379
Published: July 16, 2025
Vulnerability identifier: #VU113003
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-48379
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Alex Clark and Contributors
Affected software:
Pillow
Pillow
Detailed vulnerability description
The vulnerability allows a local user to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error on BCn encoding. A local user can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
How to mitigate CVE-2025-48379
Install updates from vendor's website.