Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
5910 articles · 249482 vulns · 36/41 feeds (7d)
← Back to list
—
CVE-2026-96643PATCHED
python software foundation · pillow

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

Description

Pillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with the six-byte Exif header. src/PIL/PngImagePlugin.py accepts an uncapped PNG eXIf chunk, so a file filled with repeated headers causes a new shrinking copy on every iteration and quadratic CPU work. The condition is reachable through Image.getexif(), Image._getexif(), and ImageOps.exif_transpose(), including common photo-upload rotation workflows. This issue is fixed in version 13.0.0.

Affected Products

VendorProductVersions
python software foundationpillow>= 11.0.0, < 13.0.0

References

  • https://github.com/python-pillow/Pillow/security/advisories/GHSA-g4qv-2jxx-769h(x_refsource_CONFIRM)
  • https://github.com/python-pillow/Pillow/pull/10073(x_refsource_MISC)
  • https://github.com/python-pillow/Pillow/commit/806e38381c781f32bbd22f4cd026678acd40fd6c(x_refsource_MISC)
  • https://github.com/python-pillow/Pillow/releases/tag/13.0.0(x_refsource_MISC)

Related News (1 articles)

Tier C
VulDB2d ago
CVE-2026-96643 | python-pillow Pillow up to 12.x Exif src/PIL/Image.py Exif.load resource consumption
→ No new info (linked only)

Discussion (0)

Loading…

CISA KEV❌ No
Actively exploited❌ No
Patch available
Pillow@13.0.0
CWECWE-407
PublishedOct 21, 2026
Last enriched2d agov2
Trending Score21
Source articles1
Independent1
Info Completeness5/14
Missing: vendor, product, cvss, epss, kev, exploit, patch, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

HIGHCVE-2026-112390
Pillow: Infinite loop in MIC n_frames when the embedded TIFF
Trending: 42
HIGHCVE-2026-112894
Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)
Trending: 42
MEDIUMCVE-2026-112899
Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit
Trending: 24
HIGHCVE-2026-96644
Pillow is a Python imaging library. Prior to 13.0.0 on Windows, src/PIL/WmfImagePlugin.py passes unchecked 32-bit WMF or EMF dimensions to the native drawwmf handler in src/display.c. The handler size
Trending: 19
HIGHCVE-2026-112902
Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
Trending: 19

Pin to Dashboard

Verification

State: verified
Confidence: 100%

Vulnerability Timeline

CVE Published
Oct 21, 2026
Discovered by ZDM
Oct 21, 2026
Updated: affectedVersions
Oct 21, 2026
Patch Available
Oct 23, 2026

Version History

v2
Last enriched 2d ago
v2Tier C2d ago

Updated affected versions to include 12.x and set severity to MEDIUM based on 'problematic' classification.

affectedVersions
via VulDB
v12d ago

Initial creation