{"id":"CVE-2025-4435","aliases":["CVE-2025-4435","PSF-2025-8","BIT-LIBPYTHON-2025-4435","BIT-PYTHON-2025-4435","BIT-PYTHON-MIN-2025-4435"],"related":[],"kind":"vulnerability","state":"published","title":"Tarfile extracts filtered members when errorlevel=0","summary":"When using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior is that any filtered members would be skipped and not extracted. However the actual behavior of TarFile.errorlevel = 0 in affected versions is that the member would still be extracted and not skipped.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"When using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior is that any filtered members would be skipped and not extracted. However the actual behavior of TarFile.errorlevel = 0 in affected versions is that the member would still be extracted and not skipped.","source":"cvelist"},{"lang":"es","text":"Al usar TarFile.errorlevel = 0 y extraer con un filtro, el comportamiento documentado es que cualquier miembro filtrado se omite y no se extrae. Sin embargo, el comportamiento real de TarFile.errorlevel = 0 en las versiones afectadas es que el miembro se extrae y no se omite.","source":"nvd"}],"published":"2025-06-03T12:59:06.000Z","modified":"2026-07-31T14:16:44.653Z","severity":{"scorer":"PSF","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"PSF","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-682"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.9.23","status":"affected"},{"type":"python","introduced":"3.10.0","fixed":"3.10.18","status":"affected"},{"type":"python","introduced":"3.11.0","fixed":"3.11.13","status":"affected"},{"type":"python","introduced":"3.12.0","fixed":"3.12.11","status":"affected"},{"type":"python","introduced":"3.13.0","fixed":"3.13.4","status":"affected"},{"type":"python","introduced":"3.14.0a1","fixed":"3.14.0b3","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"3612d8f51741b11f36f8fb0494d79086bac9390a"},{"type":"git","status":"affected","fixed":"9e0ac76d96cf80b49055f6d6b9a6763fb9215c2a"},{"type":"git","status":"affected","fixed":"19de092debb3d7e832e5672cc2f7b788d35951da"},{"type":"git","status":"affected","fixed":"aa9eb5f757ceff461e6e996f12c89e5d9b583b01"},{"type":"git","status":"affected","fixed":"28463dba112af719df1e8b0391c46787ad756dd9"},{"type":"git","status":"affected","fixed":"4633f3f497b1ff70e4a35b6fe2c907cbe2d4cb2e"},{"type":"git","status":"affected","fixed":"9c1110ef6652687d7c55f590f909720eddde965a"},{"type":"git","status":"affected","fixed":"dd8f187d0746da151e0025c51680979ac5b4cfb1"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.9.23"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.18"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.13"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.11"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.4"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.9.23"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.18"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.13"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.11"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.4"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.9.23"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.18"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.13"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.11"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.4"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/issues/135034","tags":["issue-tracking","report","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/pull/135037","tags":["patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/MAXIJJCUUMCL7ATZNDVEGGHUMQMUUKLG/","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/3612d8f51741b11f36f8fb0494d79086bac9390a","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/9e0ac76d96cf80b49055f6d6b9a6763fb9215c2a","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/19de092debb3d7e832e5672cc2f7b788d35951da","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/aa9eb5f757ceff461e6e996f12c89e5d9b583b01","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/28463dba112af719df1e8b0391c46787ad756dd9","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/4633f3f497b1ff70e4a35b6fe2c907cbe2d4cb2e","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/9c1110ef6652687d7c55f590f909720eddde965a","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/dd8f187d0746da151e0025c51680979ac5b4cfb1","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4435","tags":["web"],"sources":["bitnami"]}],"credits":["Chuck Woodraska","Petr Viktorin","Serhiy Storchaka","Hugo van Kemenade","Łukasz Langa","Thomas Wouters","Seth Larson","Matt Prodani"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-06-03T13:58:00.099Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-4435","url":"https://www.cve.org/CVERecord?id=CVE-2025-4435","licence":"CVE Terms of Use","modified":"2026-07-31T14:02:43.230Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2025-8","url":"https://osv.dev/vulnerability/PSF-2025-8","licence":"CC-BY-4.0","modified":"2025-10-09T01:06:00.144Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-4435","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4435","licence":"Public domain","modified":"2026-07-31T14:16:44.653Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2025-4435","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2025-4435","licence":"Apache-2.0","modified":"2025-08-11T15:13:29.118Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2025-4435","url":"https://osv.dev/vulnerability/BIT-PYTHON-2025-4435","licence":"Apache-2.0","modified":"2025-08-11T15:13:29.118Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2025-4435","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2025-4435","licence":"Apache-2.0","modified":"2025-08-11T15:13:29.118Z"}],"updatedAt":"2026-11-25T22:58:58.689Z","epss":{"score":0.01068,"percentile":0.64303,"date":"2026-11-30T12:00:22.000Z"}}