CVE-2025-48379
python-pillow: pillow: Pillow DDS Heap Buffer Overflow
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-122
Affected packages · 2
Operating systems · 10 fixes
alpine 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | py3-pillow | 11.3.0-r0 |
| 3.24 | py3-pillow | 11.3.0-r0 |
| edge | py3-pillow | 11.3.0-r0 |
chainguard 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| py3-vllm-cuda-12-4 | 0.9.2-r0 | |
| tensorflow-gpu-jupyter | 2.19.0-r5 | |
| tensorflow-cpu-jupyter | 2.19.0-r6 | |
| kubeflow-pipelines-visualization-server | 2.5.0-r4 | |
| pgadmin4 | 9.5-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python311-pillow +5 | 11.3.0-1.1 | openSUSE-SU-2025:15316-1 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-pipelines-visualization-server | 2.5.0-r4 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-48379
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2025-61.yaml
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4
- github.com https://github.com/python-pillow/Pillow/pull/9041
- github.com https://github.com/python-pillow/Pillow/releases/tag/11.3.0
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-48379
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-48379
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.