REDHAT-BUG-2531985: Medium severity Python Software Foundation Python vulnerability

Published Sep 11, 2026
·
Updated

When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the location of the link. For one of the calls, the return value was ignored. Instead, the member should be skipped if either call returns None.

Affected Software

1 affected component
Python Software Foundation Python

Event History

Sep 11, 2026
Data Sourced
via Red Hat·05:45 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which environments are affected by this behavior?

The issue applies when tarfile extracts a link on a system that does not support links and falls back to extracting the referenced archive member.

2

When should the archive member be skipped during this fallback path?

The member should be skipped if either filter invocation returns None, including the invocation whose name is set to the link location.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203