Security mailing lists by PureSourceCode

CVE-2025-48379

MEDIUM 5.5CVSS 3.1

Pillow vulnerability can cause 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.

Published
1 Jul 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-122
Also known as
BIT-pillow-2025-48379GHSA-xg8h-j46f-w952PYSEC-2025-61
Sources
NVDJSONOSV GHSA-xg8h-j46f-w952JSONOSV PYSEC-2025-61JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python pillow
cpe:2.3:a:python:pillow:11.2.1:*:*:*:*:*:*:*
= 11.2.1
OSV PyPI pillow >= 11.2.0, < 11.3.0 11.3.0

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 1 Jul 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Jul 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Jul 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.