CVE-2025-48379Pillow Vulnerable to Write Buffer Overflow on BCn encoding
- 7.1HighCVSS base score
- 0.33%Exploitation in 30 daysEPSS · top 74% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 43 days later
· 43 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.33% · top 74% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected >= 11.2.0, < 11.3.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIpillowGHSA-xg8h-j46f-w952 (opens in a new tab)
References
References4
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/pull/9041 (opens in a new tab)x_refsource_MISC
- https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4 (opens in a new tab)x_refsource_MISC
- https://github.com/python-pillow/Pillow/releases/tag/11.3.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-19662 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xg8h-j46f-w952 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-48379)Record last updated .