Security mailing lists by PureSourceCode

GHSA-4fx9-vc88-q2xc

LOW

Infinite loop in Pillow

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.

Published
11 Mar 2022
Last modified
5 Dec 2024
Weakness
CWE-400
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI pillow < 9.0.0 9.0.0

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Mar 2022)
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.