Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-28219

python-pillow: buffer overflow in _imagingcms.c

Overview

Published
3 Apr 2024
Modified
17 Jun 2026
Medium CVE
4 Registry packages
31 OS packages
14 Linux distributions
Yes Fix available

Description

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

Source: OX vulnerability database

Severity

5.9 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-680

Affected packages · 4

Packages affected by CVE-2024-28219
EcosystemPackageVulnerableFixed in
Bitnami pillow >=0 No fix yet
PyPI pillow <10.3.0 10.3.0
Seal PyPI pillow >=9.3.0+sp0, <9.3.0+sp999 9.3.0+sp999
Seal PyPI seal-pillow >=9.3.0+sp1, <9.3.0+sp999 9.3.0+sp999

Open a package to see all its vulnerabilities.

Operating systems · 34 fixes

Oracle Linux 1 release · 1 package

fixed 1
python3-pillow
Oracle Linux fixes for CVE-2024-28219
ReleasePackageFixed in
8 python3-pillow +3 5.1.1-21.el8_10

Red Hat 2 releases · 2 packages

affected 1 eol 1 fixed 1
python-pillow python3-pillow
Red Hat fixes for CVE-2024-28219
ReleasePackageFixed inAdvisory
7 python-pillow affected —
7 python-pillow +5 eol —
8 python3-pillow +3 0:5.1.1-21.el8_10 RHSA-2024:4227

SUSE Linux Enterprise 2 releases · 1 package

fixed 2
python311-pillow
SUSE Linux Enterprise fixes for CVE-2024-28219
ReleasePackageFixed inAdvisory
15.4 python311-pillow +1 9.5.0-150400.5.15.1 SUSE-SU-2024:1258-1
15.5 python311-pillow +1 9.5.0-150400.5.15.1 SUSE-SU-2024:1258-1

alma 1 release · 1 package

fixed 1
python3-pillow
alma fixes for CVE-2024-28219
ReleasePackageFixed in
8 python3-pillow +3 5.1.1-21.el8_10

alpine 4 releases · 1 package

fixed 4
py3-pillow
alpine fixes for CVE-2024-28219
ReleasePackageFixed in
3.22 py3-pillow 10.3.0-r0
3.23 py3-pillow 10.3.0-r0
3.24 py3-pillow 10.3.0-r0
edge py3-pillow 10.3.0-r0

amazon linux 1 release · 1 package

fixed 1
python-pillow-debuginfo
amazon linux fixes for CVE-2024-28219
ReleasePackageFixed in
2023 python-pillow-debuginfo +6 9.4.0-2.amzn2023.0.6

chainguard 1 release · 3 packages

fixed 3
py3-seaborn py3-pillow kubeflow-pipelines-visualization-server
chainguard fixes for CVE-2024-28219
ReleasePackageFixed in
py3-seaborn 0.13.2-r3
py3-pillow 10.3.0-r0
kubeflow-pipelines-visualization-server 2.2.0-r0

debian 5 releases · 1 package

fixed 5
pillow
debian fixes for CVE-2024-28219
ReleasePackageFixed in
10 pillow 5.4.1-2+deb10u6
11 pillow 8.1.2+dfsg-0.3+deb11u2
12 pillow 9.4.0-1.1+deb12u1
13 pillow 10.3.0-1
14 pillow 10.3.0-1

echo 1 release · 1 package

fixed 1
pillow
echo fixes for CVE-2024-28219
ReleasePackageFixed in
pillow 9.4.0-1.1+deb12u1

openSUSE 1 release · 2 packages

fixed 2
python310-pillow python313-pillow
openSUSE fixes for CVE-2024-28219
ReleasePackageFixed inAdvisory
Tumbleweed python310-pillow +5 10.3.0-1.1 openSUSE-SU-2024:13827-1
Tumbleweed python313-pillow +3 12.3.0-1.1 openSUSE-SU-2026:11261-1

rocky 1 release · 1 package

fixed 1
python3-pillow
rocky fixes for CVE-2024-28219
ReleasePackageFixed in
8 python3-pillow 5.1.1-21.el8_10

seal Red Hat 1 release · 1 package

fixed 1
python-jinja2
seal Red Hat fixes for CVE-2024-28219
ReleasePackageFixed in
7 python-jinja2 +1 2.7.2-4.el7+sp999

ubuntu 5 releases · 2 packages

fixed 6
pillow pillow-python2
ubuntu fixes for CVE-2024-28219
ReleasePackageFixed in
18.04-ESM pillow 5.1.0-1ubuntu0.8+esm1
20.04 pillow 7.0.0-4ubuntu0.9
20.04-ESM pillow-python2 6.2.1-3ubuntu0.1~esm2
20.04-ESM pillow 7.0.0-4ubuntu0.9
22.04 pillow 9.0.1-1ubuntu0.3
24.04 pillow 10.2.0-1ubuntu1

wolfi 1 release · 3 packages

fixed 3
py3-seaborn py3-pillow kubeflow-pipelines-visualization-server
wolfi fixes for CVE-2024-28219
ReleasePackageFixed in
py3-seaborn 0.13.2-r3
py3-pillow 10.3.0-r0
kubeflow-pipelines-visualization-server 2.2.0-r0

References

Show all 23 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.