{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-8194","id":"CVE-2025-8194","title":"Tarfile infinite loop during parsing with negative member offset","description":"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. \n\nThis vulnerability can be mitigated by including the following patch after importing the “tarfile” ","descriptionLong":"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. \n\nThis vulnerability can be mitigated by including the following patch after importing the “tarfile” module:  https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1","published":"2025-07-28T18:42:44.847Z","updated":"2026-11-11T10:47:22.227445971Z","reserved":"2025-07-25T14:05:55.899Z","status":"Deferred","rejected":false,"assigner":"PSF","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"PSF"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"PSF"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"python.org"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Python Software Foundation CPython"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.9.24","status":"affected","versionType":"python"},{"version":"3.10.0","lessThan":"3.10.19","status":"affected","versionType":"python"},{"version":"3.11.0","lessThan":"3.11.14","status":"affected","versionType":"python"},{"version":"3.12.0","lessThan":"3.12.12","status":"affected","versionType":"python"},{"version":"3.13.0","lessThan":"3.13.6","status":"affected","versionType":"python"},{"version":"3.14.0a1","lessThan":"3.14.0rc2","status":"affected","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-835"],"aliases":["BIT-libpython-2025-8194","BIT-python-2025-8194","BIT-python-min-2025-8194","PSF-2025-11"],"references":[{"url":"https://github.com/python/cpython/issues/130577","tags":["issue-tracking","report"]},{"url":"https://github.com/python/cpython/pull/137027","tags":["patch","fix","web"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/ZULLF3IZ726XP5EY7XJ7YIN3K5MDYR2D/","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/python/cpython/commit/7040aa54f14676938970e10c5f74ea93cd56aa38","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/cdae923ffe187d6ef916c0f665a31249619193fe","tags":["patch","fix"]},{"url":"https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1","tags":["mitigation","web"]},{"url":"https://github.com/python/cpython/commit/c9d9f78feb1467e73fd29356c040bde1c104f29f","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/fbc2a0ca9ac8aff6887f8ddf79b87b4510277227","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/57f5981d6260ed21266e0c26951b8564cc252bc2","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/73f03e4808206f71eb6b92c579505a220942ef19","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/b4ec17488eedec36d3c05fec127df71c0071f6cb","tags":["patch","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/28/1","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/28/2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8194.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8194","tags":["advisory"]},{"url":"https://github.com/python/cpython","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00761,"epssPercentile":0.56094,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-8194","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8194","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-8194","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-8194","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["python"],"critical":[],"attention":null}