Advisory

GHSA-4fx9-vc88-q2xc

Also known as: None

Summary

Infinite loop in Pillow

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2022-03-11 23:39 UTC
Modified
2024-12-05 05:35 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 0, fixed 9.0.0 (ecosystem)

Fixed versions

9.0.0

Fix

  • Fixed version 9.0.0
    pip install --upgrade pillow==9.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences