In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"python:python": [
">= 3.5.0, < 3.5.10",
">= 3.6.0, < 3.6.12",
">= 3.7.0, < 3.7.9",
">= 3.8.0, < 3.8.5"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-20907",
"id": "CVE-2019-20907",
"imported": "2026-11-21T03:10:13.527Z",
"modified": "2026-10-14T08:17:01.633Z",
"published": "2020-07-13T13:15:10.763Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2019-20907"
}
]
}