CVE-2025-48379: Pillow · Heap-based Buffer Overflow
Affects PillowSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 11.3.0 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 11.3.0
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade Pillow to 11.3.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIpillowpkg:pypi/pillowOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade to Pillow version 11.3.0 or later where the vulnerability is patched. Avoid saving untrusted data as compressed DDS images if upgrading is not immediately possible.
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.
References
- github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952 (opens in a new tab)
- github.com/python-pillow/Pillow/pull/9041 (opens in a new tab)
- github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4 (opens in a new tab)
- github.com/python-pillow/Pillow/releases/tag/11.3.0 (opens in a new tab)