When using the "tarfile" module with a file opened in ...
High severity
Unreviewed
Published
Jun 24, 2026
to the GitHub Advisory Database
•
Updated Jun 30, 2026
Description
Published by the National Vulnerability Database
Jun 23, 2026
Published to the GitHub Advisory Database
Jun 24, 2026
Last updated
Jun 30, 2026
When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, meaning an archive could be parsed in an infinite loop.
References