Home / python-pillow / Pillow / CVE-2025-48379
CVE-2025-48379: is it exploited, and which versions of python-pillow Pillow are affected and fixed?
CVE-2025-48379 is a heap buffer overflow vulnerability in python-pillow Pillow. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: pillow from 11.2.0 before 11.3.0 (GitHub advisory GHSA-xg8h-j46f-w952). Fixed in 11.3.0 (GitHub advisory GHSA-xg8h-j46f-w952). Severity: High (7.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-48379?
Pillow Vulnerable to Write Buffer Overflow on BCn encoding
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.
From the CVE record by GitHub_M, last updated July 1, 2025, 19:42 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| python-pillow | Pillow | >= 11.2.0, < 11.3.0 |
As the CVE record by GitHub_M states it, last updated July 1, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | pillow | >= 11.2.0, < 11.3.0 | 11.3.0 | GHSA-xg8h-j46f-w952 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 2, 2025. Summary: Pillow vulnerability can cause write buffer overflow on BCn encoding.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | pillow | 11.2.1 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:29 UTC.
How severe is CVE-2025-48379?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H | GitHub_M |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-48379 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 1, 2025)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 29.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-122 Heap-based Buffer Overflow
Where are the vendor advisories and references?
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952 x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/pull/9041 x_refsource_MISC
- https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4 x_refsource_MISC
- https://github.com/python-pillow/Pillow/releases/tag/11.3.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 19, 2025
- Published
- July 1, 2025, 18:33 UTC
- CVE record updated
- July 1, 2025, 19:42 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 09:29 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Pillow?
- Nov 27, 2026CVE-2026-137940 python-pillow Pillow: integer overflow
- Nov 12, 2026CVE-2026-128067 python-pillow Pillow: out-of-bounds write (memory corruption)
- Nov 12, 2026CVE-2026-128066 python-pillow Pillow: denial of service (resources allocated without limits)
- Nov 5, 2026CVE-2026-112902 python-pillow Pillow: function Call With Incorrect Argument Type
- Nov 5, 2026CVE-2026-112899 python-pillow Pillow: denial of service (resources allocated without limits)
- Oct 21, 2026CVE-2026-114501 python-pillow Pillow: sensitive Information in Resource Not Removed Before Reuse
- Oct 21, 2026CVE-2026-96639 python-pillow Pillow: out-of-bounds read
- Oct 21, 2026CVE-2026-96636 python-pillow Pillow: denial of service (uncontrolled resource consumption)
Questions about CVE-2025-48379
Is CVE-2025-48379 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of python-pillow Pillow are affected by CVE-2025-48379?
pillow from 11.2.0 before 11.3.0, per the GitHub advisory GHSA-xg8h-j46f-w952. The tables above give every range the sources list.
Which version fixes CVE-2025-48379?
11.3.0, per the GitHub advisory GHSA-xg8h-j46f-w952. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-48379?
High (7.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-48379?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.