CVE-2024-28219: In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
Noroxi assessment
Priority: Monitor (action score 23/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.99% (FIRST EPSS); higher than 62.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: python3-pillow (AlmaLinux:8) 5.1.1-21.el8_10; python3-pillow-devel (AlmaLinux:8) 5.1.1-21.el8_10; python3-pillow-doc (AlmaLinux:8) 5.1.1-21.el8_10.
Low priority for now. Upgrade to python3-pillow (AlmaLinux:8) 5.1.1-21.el8_10; python3-pillow-devel (AlmaLinux:8) 5.1.1-21.el8_10; python3-pillow-doc (AlmaLinux:8) 5.1.1-21.el8_10 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- Published
- Apr 2, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.9% · 62th percentile
- CWE
- CWE-680
Report tools
Action score
23
Monitor
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.9%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.9
- CNA · mitre
- 6.7
- 0.8 point gap
CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:R
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- python pillowbefore 10.3.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | python3-pillow | before 5.1.1-21.el8_10 | 5.1.1-21.el8_10 |
| AlmaLinux:8 | python3-pillow-devel | before 5.1.1-21.el8_10 | 5.1.1-21.el8_10 |
| AlmaLinux:8 | python3-pillow-doc | before 5.1.1-21.el8_10 | 5.1.1-21.el8_10 |
| AlmaLinux:8 | python3-pillow-tk | before 5.1.1-21.el8_10 | 5.1.1-21.el8_10 |
| Alpine:v3.19 | py3-pillow | before 10.3.0-r0 | 10.3.0-r0 |
| Debian:10 | pillow | before 5.4.1-2+deb10u6 | 5.4.1-2+deb10u6 |
| Debian:11 | pillow | before 8.1.2+dfsg-0.3+deb11u2 | 8.1.2+dfsg-0.3+deb11u2 |
| Debian:12 | pillow | before 9.4.0-1.1+deb12u1 | 9.4.0-1.1+deb12u1 |
| Debian:13 | pillow | before 10.3.0-1 | 10.3.0-1 |
| openSUSE:Leap 15.5 | python-Pillow | before 9.5.0-150400.5.15.1 | 9.5.0-150400.5.15.1 |
| openSUSE:Leap 15.5 | python-Pillow | before 7.2.0-150300.3.9.1 | 7.2.0-150300.3.9.1 |
| openSUSE:Tumbleweed | python-Pillow | before 10.3.0-1.1 | 10.3.0-1.1 |
| openSUSE:Tumbleweed | python-Pillow | before 12.3.0-1.1 | 12.3.0-1.1 |
| PyPI | pillow | before 10.3.0 | 10.3.0 |
| Red Hat:ansible_automation_platform_developer:2.4::el8 | python39-black | before 0:22.8.0-2.el8ap | 0:22.8.0-2.el8ap |
| Red Hat:ansible_automation_platform_developer:2.4::el8 | python39-cryptography | before 0:42.0.5-1.el8ap | 0:42.0.5-1.el8ap |
| Red Hat:ansible_automation_platform_developer:2.4::el8 | python39-cryptography-debuginfo | before 0:42.0.5-1.el8ap | 0:42.0.5-1.el8ap |
| Red Hat:ansible_automation_platform_developer:2.4::el8 | python39-idna | before 0:3.7-1.el8ap | 0:3.7-1.el8ap |
| Red Hat:ansible_automation_platform_developer:2.4::el8 | python39-jinja2 | before 0:3.1.4-1.el8ap | 0:3.1.4-1.el8ap |
| Red Hat:ansible_automation_platform_developer:2.4::el8 | python39-requests | before 0:2.32.2-1.el8ap | 0:2.32.2-1.el8ap |
| Red Hat:ansible_automation_platform_developer:2.4::el8 | python3x-black | before 0:22.8.0-2.el8ap | 0:22.8.0-2.el8ap |
| Red Hat:ansible_automation_platform_developer:2.4::el8 | python3x-cryptography | before 0:42.0.5-1.el8ap | 0:42.0.5-1.el8ap |
| Red Hat:ansible_automation_platform_developer:2.4::el8 | python3x-cryptography-debugsource | before 0:42.0.5-1.el8ap | 0:42.0.5-1.el8ap |
| Red Hat:ansible_automation_platform_developer:2.4::el8 | python3x-idna | before 0:3.7-1.el8ap | 0:3.7-1.el8ap |
+86
Same product
python: all recordsOther highest-scoring records for the same primary product.
- CVE-2014-3007Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote attackers to execute arbitrary commands via shell metacharact43Plan
- CVE-2016-4009Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have u41Plan
- CVE-2022-30595libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.40Plan
Published before and after this one in the same product
- ← EarlierCVE-2023-44271Nov 3, 2023 · An issue was discovered in Pillow before 10.0.0.30Monitor
- ← EarlierCVE-2023-50447Jan 19, 2024 · Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-233Monitor
- Later →CVE-2025-48379Jul 1, 2025 · Pillow Vulnerable to Write Buffer Overflow on BCn encoding22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:python3-pillow | 5.1.1-21.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3-pillow-devel | 5.1.1-21.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3-pillow-doc | 5.1.1-21.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3-pillow-tk | 5.1.1-21.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| alpine:py3-pillow | 10.3.0-r0 · Alpine:v3.19 | Package registry (OSV) |
| debian:pillow | 9.4.0-1.1+deb12u1 · Debian:12 | Package registry (OSV) |
| opensuse:python-Pillow | 7.2.0-150300.3.9.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:python-Pillow | 9.5.0-150400.5.15.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| PyPI:pillow | 10.3.0 | Package registry (OSV) |
| red hat:automation-controller-venv-tower | 0:4.5.7-1.el8ap · Red Hat:ansible_automation_platform:2.4::el8 | Package registry (OSV) |
| red hat:python-cryptography | 0:42.0.5-1.el9ap · Red Hat:ansible_automation_platform_developer:2.4::el9 | Package registry (OSV) |
| red hat:python-cryptography-debugsource | 0:42.0.5-1.el9ap · Red Hat:ansible_automation_platform_developer:2.4::el9 | Package registry (OSV) |
| red hat:python3-cryptography | 0:42.0.5-1.el9ap · Red Hat:ansible_automation_platform_developer:2.4::el9 | Package registry (OSV) |
| red hat:python3-cryptography-debuginfo | 0:42.0.5-1.el9ap · Red Hat:ansible_automation_platform_developer:2.4::el9 | Package registry (OSV) |
| red hat:python39-cryptography | 0:42.0.5-1.el8ap · Red Hat:ansible_automation_platform_developer:2.4::el8 | Package registry (OSV) |
| red hat:python39-cryptography-debuginfo | 0:42.0.5-1.el8ap · Red Hat:ansible_automation_platform_developer:2.4::el8 | Package registry (OSV) |
| red hat:python39-pillow | 0:10.3.0-1.el8ap · Red Hat:ansible_automation_platform:2.4::el8 | Package registry (OSV) |
| red hat:python3x-cryptography | 0:42.0.5-1.el8ap · Red Hat:ansible_automation_platform_developer:2.4::el8 | Package registry (OSV) |
| red hat:python3x-cryptography-debugsource | 0:42.0.5-1.el8ap · Red Hat:ansible_automation_platform_developer:2.4::el8 | Package registry (OSV) |
| red hat:receptor | 0:1.4.8-1.el8ap · Red Hat:ansible_automation_platform_developer:2.4::el8 | Package registry (OSV) |
| red hat:receptorctl | 0:1.4.8-1.el8ap · Red Hat:ansible_automation_platform_developer:2.4::el8 | Package registry (OSV) |
| rocky linux:python-pillow | 0:5.1.1-21.el8_10 · Rocky Linux:8 | Package registry (OSV) |
| suse:python-Pillow | 9.5.0-150400.5.15.1 · SUSE:Linux Enterprise Module for Python 3 15 SP5 | Package registry (OSV) |
| suse:venv-openstack-horizon | 14.1.1~dev11-4.55.2 · SUSE:OpenStack Cloud 9 | Package registry (OSV) |
| suse:venv-openstack-horizon-hpe | 12.0.5~dev6-14.58.2 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-680 · Integer Overflow to Buffer OverflowCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
- Overflow Variables and TagsCAPEC-46likelihood: High · High
- Buffer Overflow via Parameter ExpansionCAPEC-47likelihood: Medium · High
- String Format Overflow in syslog()CAPEC-67likelihood: High · Very High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/
- pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.