Security mailing lists by PureSourceCode

CVE-2026-96642

HIGH 7.1CVSS 4.0

Pillow: TarIO negative size field causes infinite CPU-spin loop

Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte header. When the requested member name does not match, the parser repeatedly reads that header, consumes a full CPU core, and never returns. TarIO is reached only when an application directly uses PIL.TarIO.TarIO rather than the default Image.open() path. This issue is fixed in version 13.0.0.

Published
21 Oct 2026
Last modified
30 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-835
Also known as
BIT-pillow-2026-96642GHSA-3j72-p6qg-6xp7PYSEC-2026-4341
Sources
NVDJSONOSV GHSA-3j72-p6qg-6xp7JSONOSV PYSEC-2026-4341JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 7.1 CVSS: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 GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python pillow
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
< 13.0.0 13.0.0
OSV PyPI pillow < 13.0.0 13.0.0

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 21 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.