Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-96636

medium

Pillow is a Python imaging library.

Vendor / product: Python — pillow

Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek() and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without rerunning Image._decompression_bomb_check(). A crafted multi-frame image can use a tiny first frame to pass Image.open() and then declare an over-limit later frame. Normal frame iteration through seek(), load(), or ImageSequence.Iterator can decode that frame and commit hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.

CVSS
6.5
6.5 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (security-advisories@github.com)
Timeline (UTC)
Published: 2026-10-21 21:20
Modified: 2026-10-27 14:24
NVD status: Analyzed
Last synced 18 hours ago
Verified against the source API 2026-10-28 11:30 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

python / pillow <13.0.0

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://github.com/python-pillow/Pillow/security/advisories/GHSA-p8hx-v2p6-rp84
Patch / mitigation: https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48

References

Data sources

NVD CVE API 2.0 — fetched 2026-10-28 11:30 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs