# CVE-2025-48379: Pillow Vulnerable to Write Buffer Overflow on BCn encoding

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 11.3.0 (CNA); fix release not confirmed
- Status: published
- Published: 2025-07-01 · Modified: 2025-07-01
- Aliases: GHSA-xg8h-j46f-w952, BIT-pillow-2025-48379, PYSEC-2025-61, CGA-ghw5-6mm8-ww6j, CGA-m9mp-w27g-r59v, CGA-vx53-w5qc-h775, openSUSE-SU-2025:15316-1, CGA-22vq-mqrq-6mf3, CGA-29w2-x324-8mvq, CGA-379f-4jgh-vmcf, CGA-8m6j-72x5-m6m6, CGA-fq9f-gc74-pgmg, CGA-h8fr-mg38-ppqv, CGA-qc3m-w58f-cwhr, CGA-v7x5-69f3-2hc8, CGA-wv33-63rj-68xm, ALPINE-CVE-2025-48379
- Record: https://cvemate.com/vulnerability/CVE-2025-48379 · JSON: https://cvemate.com/vulnerability/CVE-2025-48379/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.338%, percentile 29.204%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine py3-pillow (Alpine Linux): \< 11.3.0-r0
- chainguard kubeflow-pipelines-visualization-server (Chainguard): \< 2.5.0-r4
- chainguard pgadmin4 (Chainguard): \< 9.5-r0
- chainguard pgadmin4-oci-entrypoint (Chainguard): \< 9.5-r0
- chainguard py3-vllm-cuda-12.4 (Chainguard): \< 0.9.2-r0
- chainguard py3.10-vllm-cuda-12.4 (Chainguard): \< 0.9.2-r0
- chainguard py3.12-vllm-cuda-12.4 (Chainguard): \< 0.9.2-r0
- chainguard superset (Chainguard): \< 5.0.0-r0
- chainguard tensorflow-cpu-jupyter (Chainguard): \< 2.19.0-r6
- chainguard tensorflow-gpu-jupyter (Chainguard): \< 2.19.0-r5
- wolfi kubeflow-pipelines-visualization-server (Wolfi): \< 2.5.0-r4
- wolfi superset (Wolfi): \< 5.0.0-r0
- PyPI pillow (PyPI): \< ef98b3510e3e4f14b547762764813d7e5ca3c5a4 \| ≥ 11.2.0, \< 11.3.0
- python-pillow pillow: ≥ 11.2.0, \< 11.3.0
- python pillow: 11.2.1
- opensuse python-Pillow&distro=openSUSE Tumbleweed (openSUSE): \< 11.3.0-1.1

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952>
- <https://github.com/python-pillow/Pillow/pull/9041>
- <https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4>
- <https://github.com/python-pillow/Pillow/releases/tag/11.3.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48379>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2025-61.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48379.json>
- <https://www.suse.com/security/cve/CVE-2025-48379>
- <https://security.alpinelinux.org/vuln/CVE-2025-48379>

---

Data as of 2026-12-05T05:18:16.203Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
