6.7
MEDIUM CVSS 3.1
CVE-2024-28219
Pillow strcpy Buffer Overflow
Description

In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.

INFO

Published Date :

April 3, 2024, 3:15 a.m.

Last Modified :

Oct. 15, 2025, 3:20 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2024-28219 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Python pillow
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
Update the Pillow package to address a buffer overflow vulnerability.
  • Update Pillow to a version greater than or equal to 10.3.0.
  • Update the affected packages.
Public PoC/Exploit Available at Github

CVE-2024-28219 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-28219 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

PRVS is a command-line utility that scans for vulnerabilties in Python packages in a requirements.txt file, and provides a summary, suggested upgrade, and version information for each package.

Python

Updated: 8 months ago
1 stars 0 fork 0 watcher
Born at : Aug. 27, 2024, 7:31 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : June 3, 2024, 12:32 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : June 1, 2024, 11:58 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-28219 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-28219 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Oct. 15, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CPE Configuration OR *cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* versions up to (excluding) 10.3.0
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html Types: Mailing List, Third Party Advisory
    Added Reference Type MITRE: https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/ Types: Broken Link
    Added Reference Type MITRE: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/ Types: Broken Link
    Added Reference Type CVE: https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security Types: Release Notes
    Added Reference Type MITRE: https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security Types: Release Notes
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/
    Added Reference https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Aug. 20, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-680
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 10, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html [No types assigned]
  • CVE Modified by [email protected]

    Apr. 10, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/ [No types assigned]
  • CVE Received by [email protected]

    Apr. 03, 2024

    Action Type Old Value New Value
    Added Description In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
    Added Reference MITRE https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security [No types assigned]
    Added CVSS V3.1 MITRE AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact