CVE-2025-48379: Pillow Vulnerable to Write Buffer Overflow on BCn encoding
Vulnerability summary
CVE-2025-48379 is a high (CVSS 7.1) Heap-based Buffer Overflow vulnerability in python-pillow pillow. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 29.2% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 8Timeline
- 01-07-2025PublishedVulnerability first disclosed.
- 01-07-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.33% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPillow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard9 products
- kubeflow-pipelines-visualization-server< 2.5.0-r4
- pgadmin4< 9.5-r0
- pgadmin4-oci-entrypoint< 9.5-r0
- py3-vllm-cuda-12.4< 0.9.2-r0
- py3.10-vllm-cuda-12.4< 0.9.2-r0
Wolfi2 products
- kubeflow-pipelines-visualization-server< 2.5.0-r4
- superset< 5.0.0-r0
Alpine1 product
- py3-pillow< 11.3.0-r0
Opensuse1 product
- python-Pillow&distro=openSUSE Tumbleweed< 11.3.0-1.1
PyPI1 product
- pillow< ef98b3510e3e4f14b547762764813d7e5ca3c5a4 | ≥ 11.2.0, < 11.3.0
Python1 product
- pillow11.2.1
Python-pillow1 product
- pillow≥ 11.2.0, < 11.3.0
7 vendors · 16 products
References
10 links- github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952X Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4X Refsource MISCWEBFIXPatch