Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-11972: When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer. CVE-2026-0864: When using the "configparser" module to write configuration files containing multi-line text values with carriage return characters (\r) the resulting file could be injected with unexpected keys and values if the attacker controls the written value. CVE-2025-13462: The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.
Fixed packages 11
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | python3.13 | 0:3.13.14-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.13-debug | 0:3.13.14-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.13-debuginfo | 0:3.13.14-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.13-debugsource | 0:3.13.14-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.13-devel | 0:3.13.14-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.13-freethreading | 0:3.13.14-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.13-freethreading-debug | 0:3.13.14-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.13-idle | 0:3.13.14-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.13-libs | 0:3.13.14-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.13-test | 0:3.13.14-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.13-tkinter | 0:3.13.14-1.amzn2023.0.2 |
Vulnerabilities 3
-
High 8.2
tarfile opened in streaming mode mishandles EOF
When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.
-
Medium 4.1
Configuration Injection via Carriage Return (\r) in write() method
When using the "configparser" module to write configuration files containing multi-line text values with carriage return characters (\r) the resulting file could be injected with unexpected keys and values if the attacker controls the written value.
-
Low 2.0
tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile …