{"id":"BIT-pillow-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 (\u003e64k 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.","aliases":["CVE-2025-48379","GHSA-xg8h-j46f-w952","PYSEC-2025-61"],"modified":"2026-09-10T16:01:21.554658060Z","published":"2025-07-03T05:57:27.923Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:python:pillow:*:*:*:*:*:python:*:*"]},"references":[{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4"},{"type":"EVIDENCE","url":"https://github.com/python-pillow/Pillow/pull/9041"},{"type":"ARTICLE","url":"https://github.com/python-pillow/Pillow/releases/tag/11.3.0"},{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48379"}],"affected":[{"package":{"name":"pillow","ecosystem":"Bitnami","purl":"pkg:bitnami/pillow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"11.2.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pillow/BIT-pillow-2025-48379.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}]}],"schema_version":"1.9.0"}