Skip to content
OpenAdvisories
High ALAS2-2025-2961 1 CVE

Important: python security update (Amazon Linux 2)

Published Aug 5, 2025 · Updated Aug 19, 2025

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-8194: There is a defect in the CPython "tarfile" module affecting the "TarFile" extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. This vulnerability can be mitigated by including the following patch after importing the "tarfile" module: https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

Fixed packages 8

ReleasePackageFixed in
Amazon Linux · 2 python 0:2.7.18-1.amzn2.0.14
Amazon Linux · 2 python-debug 0:2.7.18-1.amzn2.0.14
Amazon Linux · 2 python-debuginfo 0:2.7.18-1.amzn2.0.14
Amazon Linux · 2 python-devel 0:2.7.18-1.amzn2.0.14
Amazon Linux · 2 python-libs 0:2.7.18-1.amzn2.0.14
Amazon Linux · 2 python-test 0:2.7.18-1.amzn2.0.14
Amazon Linux · 2 python-tools 0:2.7.18-1.amzn2.0.14
Amazon Linux · 2 tkinter 0:2.7.18-1.amzn2.0.14

Vulnerabilities 1

  • High 7.5

    Tarfile infinite loop during parsing with negative member offset

    There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsi…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-8194.html