GitHub Advisoryadvisory · PyPI
GHSA-4fx9-vc88-q2xc Infinite loop in Pillow
LOW
Official page ↗
- Ecosystem
- PyPI
- Packages
- Pillow
- Severity
- Low
- Weaknesses
- CWE-400
- Reviewed
- 2022-03-11
Affected packages
• PyPI Pillow: < 9.0.0 → fixed in 9.0.0
Description
JpegImagePlugin may append an EOF marker to the end of a truncated file, so that the last segment of the data will still be processed by the decoder.
If the EOF marker is not detected as such however, this could lead to an infinite loop where JpegImagePlugin keeps trying to end the file.
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness