PyPI: pillow

CVE-2024-28219

Safety vulnerability ID: SFTY-20240403-78084

Safety legacy ID: pyup.io-67136

Pillow 10.3.0 introduces a security update addressing CVE-2024-28219 by replacing certain functions with strncpy to prevent buffer overflow issues.

Created at: May 22, 2026Updated at: May 22, 2026

Overview

Pillow buffer overflow vulnerability

Advisory

Pillow 10.3.0 introduces a security update addressing CVE-2024-28219 by replacing certain functions with strncpy to prevent buffer overflow issues.

Affected Package

Affecting pillow package, versions
<10.3.0

Also affects

---

How to Fix

Upgrade
pillow
to
10.3.0
or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more