This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-29509 →
Categories
DEBIAN-CVE-2026-29509

Patool before 4.0.5 contains a path traversal vulnerability in the safe_extract() function in patoolib/programs/py_tarfile.py when running on Python b...

Original description

The description as published by the source.

Patool before 4.0.5 contains a path traversal vulnerability in the safe_extract() function in patoolib/programs/py_tarfile.py when running on Python before 3.12, where the is_within_directory() helper uses os.path.commonprefix() for character-level string comparison instead of path-level comparison, allowing a crafted archive member path to bypass the containment check. Attackers can supply a malicious archive with specially crafted member paths to write arbitrary files.

Source: OSV.dev (Open Source Vulnerabilities) OSV

Affected packages

Debian:13 patool
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-1+deb13u1"}]}]
Debian:14 patool
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.5-0.1"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details