{"id":66943,"date":"2025-07-29T00:53:16","date_gmt":"2025-07-28T21:23:16","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-8194-apache-cpython-tarfile-infinite-loop-deadlock\/"},"modified":"2025-07-29T00:53:16","modified_gmt":"2025-07-28T21:23:16","slug":"cve-2025-8194-apache-cpython-tarfile-infinite-loop-deadlock","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-8194-apache-cpython-tarfile-infinite-loop-deadlock\/","title":{"rendered":"CVE-2025-8194 &#8211; Apache CPython TarFile Infinite Loop Deadlock"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-8194<br \/>\n<br \/>\n<strong>Published : <\/strong> July 28, 2025, 7:15 p.m. | 2\u00a0hours, 6\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>There is a defect in the CPython \u201ctarfile\u201d module affecting the \u201cTarFile\u201d 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. <\/p>\n<p>This vulnerability can be mitigated by including the following patch after importing the \u201ctarfile\u201d module:<\/p>\n<p>import tarfile<\/p>\n<p>def _block_patched(self, count):<br \/>\n\u00a0 \u00a0 if count<br \/>\n<strong>Severity:<\/strong> 7.5 | HIGH<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-8194 Published : July 28, 2025, 7:15 p.m. | 2\u00a0hours, 6\u00a0minutes ago Description : There is a defect in the CPython \u201ctarfile\u201d module affecting the \u201cTarFile\u201d 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-66943","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/66943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=66943"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/66943\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=66943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=66943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=66943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}