{"id":"CVE-2025-48379","aliases":["BIT-pillow-2025-48379","GHSA-xg8h-j46f-w952","PYSEC-2025-61"],"url":"https://o3.security/vulnerability/CVE-2025-48379","summary":"Pillow Vulnerable to Write Buffer Overflow on BCn encoding","details":"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.","published":"2025-07-01T18:33:30.687Z","modified":"2026-08-08T09:30:54.966247Z","cvss":{"score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pillow","fixedVersion":"11.3.0"}],"fix":{"url":"https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4","label":"python-pillow/Pillow@ef98b35"},"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/11.3.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48379.json"},{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48379"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/pull/9041"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T09:30:54.966247Z"}}