CriticalFix available
py3-pillow — security advisory
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
- Products
- py3-pillow
- Affected versions
- Not specified
- Fixed versions
- 8.3.0-r0
- CVEs
- CVE-2021-34552
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 22:05 UTC · Revision 1
Source evidence
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
osv:ALPINE-CVE-2021-34552
py3-pillow
Fixed versions: 8.3.0-r0
Complete source record
{
"id": "21f96f50993c02622e6537290155ef6b8ed96c792890b9adccbdacc31036bd59",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2021-34552",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2021-34552",
"summary": "Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.",
"evidence": "osv:ALPINE-CVE-2021-34552",
"products": [
{
"name": {
"value": "py3-pillow",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.3.0-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "ALPINE-CVE-2021-34552",
"aliases": [
"ALPINE-CVE-2021-34552"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.3.0-r0"
}
]
}
],
"package": {
"name": "py3-pillow",
"purl": "pkg:apk/alpine/py3-pillow?arch=source",
"ecosystem": "Alpine:v3.15"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34552.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-23T17:17:56.194045135Z",
"provider": "osv",
"upstream": [
"CVE-2021-34552"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2021-34552"
]
},
"related_cves": [
{
"value": "CVE-2021-34552",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 415469,
"published_at": "2021-07-13T17:15:09.4+00:00"
}