CVE-2025-48379: python-pillow pillow Heap-based Buffer Overflow
Vulnerability summary
CVE-2025-48379 is a high (CVSS 7.1) Heap-based Buffer Overflow vulnerability in python-pillow pillow. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 23.3% of scored vulnerabilities. 1 public exploit is recorded.
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
5 scores · 5 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
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
+0.04 pp
From 0.28% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPillow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
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
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
6 vendors · 15 products
References
9 links- github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952X Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4X Refsource MISCWEBFIXPatch