PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-96637 python-pillow CVE debrief

A vulnerability in Pillow's SpiderImagePlugin allows a tiny crafted SPIDER stack file to trigger a multi-gigabyte allocation on im.load(), potentially leading to a denial-of-service (DoS) attack. This vulnerability is caused by the SpiderImagePlugin's seek() method bypassing the decompression bomb check, allowing an attacker-influenced size to be used for allocation. The vulnerability affects all versions of Pillow up to and including the current HEAD (v13.0.0.dev0, commit e7a7ea84). Defenders should assess their exposure and prioritize verifying and updating Pillow to a secure version.

Vendor
python-pillow
Product
Pillow
CVSS
HIGH 7.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-22
Original CVE updated
2026-10-22
Advisory published
2026-10-22
Advisory updated
2026-10-22

Who should care

Defenders responsible for maintaining and securing systems that use Pillow should assess their exposure and prioritize verifying and updating Pillow to a secure version. This includes operators, platform administrators, vulnerability management teams, and security teams.

Why it matters

Defenders should prioritize verifying and updating Pillow to a secure version, assessing exposure, and implementing compensating controls to prevent potential DoS attacks. The vulnerability allows a tiny crafted SPIDER stack file to trigger a multi-gigabyte allocation on im.load().

  • Potential denial-of-service (DoS) attacks through multi-gigabyte allocations
  • Verification priority for Pillow versions and exposure

Technical summary

The SpiderImagePlugin's seek() method bypasses the decompression bomb check, allowing a tiny crafted SPIDER stack file to trigger a multi-gigabyte allocation on im.load(). This can potentially lead to a denial-of-service (DoS) attack. The vulnerability affects all versions of Pillow up to and including the current HEAD (v13.0.0.dev0, commit e7a7ea84). Defenders should prioritize verifying and updating Pillow to a secure version, assessing exposure, and implementing compensating controls to prevent potential DoS attacks.

Defensive priority

Defenders should prioritize verifying and updating Pillow to a secure version, assessing exposure, and implementing compensating controls to prevent potential DoS attacks.

Recommended defensive actions

  • Verify and update Pillow to a secure version
  • Assess exposure and implement compensating controls
  • Monitor for potential DoS attacks
  • Review relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.

Evidence notes

The vulnerability is caused by the SpiderImagePlugin's seek() method bypassing the decompression bomb check, allowing an attacker-influenced size to be used for allocation. This can lead to a multi-gigabyte allocation on im.load(). The vulnerability affects all versions of Pillow up to and including the current HEAD (v13.0.0.dev0, commit e7a7ea84). Defenders should verify and update Pillow to a secure version, assess exposure, and implement compensating controls to prevent potential DoS attacks. Evidence is limited to the supplied CVE

Sources and references

Verified primary and authoritative sources

  • CVE-2026-96637 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-96637

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-96637 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-96637

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocatio

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-g842-9rc4-69pw.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/python-pillow/Pillow/security/advisories/GHSA-g842-9rc4-69pw

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/python-pillow/Pillow/pull/10076

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/python-pillow/Pillow/commit/7cb0e02389d8aac2a60896a490f572db0b07b841

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/python-pillow/Pillow

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/python-pillow/Pillow/releases/tag/13.0.0

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.