CVE-2025-48379
published high CVSS 3.1 · 7.1Pillow Vulnerable to Write Buffer Overflow on BCn encoding
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow>= 11.2.0, < 11.3.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | py3-pillow | Fixed | 11.3.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Pillowaarch64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| Alpine Linux | v3.23 | py3-pillow | Fixed | 11.3.0-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-pillow | Fixed | 11.3.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Pillowppc64le | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
Show 22 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Pillows390x | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Pillowx86_64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Pillow-tkaarch64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Pillow-tkppc64le | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Pillow-tks390x | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Pillow-tkx86_64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Pillowaarch64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Pillowppc64le | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Pillows390x | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Pillowx86_64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Pillow-tkaarch64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Pillow-tkppc64le | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Pillow-tks390x | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Pillow-tkx86_64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillowaarch64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillowppc64le | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillows390x | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillowx86_64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tkppc64le | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tks390x | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2025:15316-1 |
Description
Pillow is a Python imaging library. In versions 11.2.0 to before 11.3.0, there is a heap buffer overflow when writing a sufficiently large (>64k encoded with default settings) image in the DDS format due to writing into a buffer without checking for available space. This only affects users who save untrusted data as a compressed DDS image. This issue has been patched in version 11.3.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| python-pillow | Pillow | >= 11.2.0, < 11.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-122 CWE-122: Heap-based Buffer Overflow
References
4Provider assertions
2GitHub_M · cna
Pillow Vulnerable to Write Buffer Overflow on BCn encoding
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 942f7cbdda4b08e66809121f48ba9f136761fe12683a86f2241124aba1dd0e7c
- Ingested
- 23 Sep 2026, 08:50:38 UTC
- Source record
- Official CVE record