PyPI: diffoscope

CVE-2017-0359

Safety vulnerability ID: SFTY-20180413-82519

Safety legacy ID: pyup.io-53922

diffoscope before 76 writes to arbitrary locations on disk based on the contents of an untrusted archive. Affected functions: diffoscope.comparators.utils.libarchive.LibarchiveContainer.ensure_unpacked diffoscope.comparators.utils.libarchive.LibarchiveContainer.get_member_names diffoscope.comparators.utils.libarchive.LibarchiveContainer.extract

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Diffoscope may write to arbitrary locations due to an untrusted archive

Advisory

diffoscope before 76 writes to arbitrary locations on disk based on the contents of an untrusted archive. Affected functions: diffoscope.comparators.utils.libarchive.LibarchiveContainer.ensure_unpacked diffoscope.comparators.utils.libarchive.LibarchiveContainer.get_member_names diffoscope.comparators.utils.libarchive.LibarchiveContainer.extract

Affected Package

Affecting diffoscope package, versions>=0,<76

Also affects

---

How to Fix

Upgradediffoscopeto76or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more