THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-g4qv-2jxx-769h (high) — Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time

[GHSA] GHSA-g4qv-2jxx-769h (high) — Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time

medgithub_advisoriesPublished 2026-10-22

GHSA-g4qv-2jxx-769h Severity: high CVE: CVE-2026-96643

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

### Summary 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.

### Det

Indicators of compromise

Original source: https://github.com/advisories/GHSA-g4qv-2jxx-769h