CVE-2026-96643: Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time
Vulnerability summary
CVE-2026-96643 is a high (CVSS 7.1) Inefficient Algorithmic Complexity vulnerability in python-pillow pillow. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 31.3% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 21-10-2026PublishedVulnerability first disclosed.
- 23-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 7 sources · 2 versions- NVDNIST7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard20 products
- mlflowAll versions (No fix recorded) | < 3.17.2-r2
- mlflow-fipsAll versions (No fix recorded) | < 3.17.2-r3
- nemo-gymAll versions (No fix recorded) | < 0.5.0_rc0_git20260729-r6
- nemo-rl-cuda-13.0All versions (No fix recorded) | < 0.7.0-r11
- nemo-rl-cuda-13.0-automodelAll versions (No fix recorded) | < 0.7.0-r11
Wolfi3 products
- mlflowAll versions (No fix recorded)
- open-webuiAll versions (No fix recorded)
- py3.10-pillowAll versions (No fix recorded)
Ubuntu2 products
- pillowAll versions (No fix recorded)
- pillow-python2All versions (No fix recorded)
Debian1 product
- pillowAll versions (No fix recorded)
PyPI1 product
- pillow≥ 11.0.0, < 13.0.0
Python1 product
- pillow≥ 11.0.0, < 13.0.0
Python-pillow1 product
- pillow≥ 11.0.0, < 13.0.0
7 vendors · 29 products
References
10 links- github.com/python-pillow/Pillow/security/advisories/GHSA-g4qv-2jxx-769hX Refsource CONFIRMWEBAdvisoryREPORTVendor Advisory
- github.com/python-pillow/Pillow/commit/806e38381c781f32bbd22f4cd026678acd40fd6cX Refsource MISCWEBFIXPatch