PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-96643 python-pillow CVE debrief

A PNG file with a large eXIf chunk full of repeated 6-byte markers makes Pillow's EXIF parser take seconds of CPU instead of milliseconds. The cost grows with the square of the chunk size, so a normal small-photo-sized file is enough to cause real delay. This issue arises from the inefficient handling of large eXIf chunks with repeated markers in Pillow's EXIF parser, leading to potential delays or CPU exhaustion. Defenders handling image processing systems, especially those using Pillow for EXIF parsing, should assess exposure and prioritize updates to mitigate potential delays or vulnerabilities.

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 handling image processing systems, especially those using Pillow for EXIF parsing, should assess exposure and prioritize updates to mitigate potential delays or vulnerabilities. This includes operators of platforms handling image processing, vulnerability management teams, and security teams responsible for verifying and updating Pillow deployments.

Why it matters

Defenders should prioritize verifying and updating Pillow to prevent potential delays or CPU exhaustion due to quadratic time complexity in EXIF parsing.

  • Potential delays in image processing due to inefficient EXIF parsing
  • Increased CPU usage or exhaustion in systems handling large PNG files
  • Need for verification of Pillow version and potential updates to prevent vulnerabilities

Technical summary

The EXIF parser in Pillow is vulnerable to quadratic time complexity when handling large PNG eXIf chunks with repeated markers, leading to potential delays or CPU exhaustion. This issue arises from the inefficient handling of large eXIf chunks with repeated markers in Pillow's EXIF parser. A PNG file with a large eXIf chunk full of repeated 6-byte markers makes Pillow's EXIF parser take seconds of CPU instead of milliseconds. The cost grows with the square of the chunk size, so a normal small-photo-sized file is enough to cause real delay.

Defensive priority

Defenders should prioritize verifying and updating Pillow to version 13.0.0 or later, especially in systems handling image processing.

Recommended defensive actions

  • Update Pillow to version 13.0.0 or later
  • Verify image processing systems for potential delays or vulnerabilities
  • Monitor for suspicious PNG files with large eXIf chunks
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check 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

Evidence notes

The issue arises from the EXIF parser's inefficient handling of large eXIf chunks with repeated markers, leading to quadratic time complexity. This results in potential delays or CPU exhaustion in systems handling large PNG files. Defenders should verify and update Pillow to prevent potential delays or CPU exhaustion due to quadratic time complexity in EXIF parsing. Evidence is limited to public sources and may not cover all affected scope or technical details.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-96643 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-96643 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-g4qv-2jxx-769h.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/python-pillow/Pillow/security/advisories/GHSA-g4qv-2jxx-769h

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/python-pillow/Pillow/commit/806e38381c781f32bbd22f4cd026678acd40fd6c

    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.