Live › vulnerability › CVE-2026-61725
sevenz-rust2 is a Rust library for reading and writing 7z archives. A crafted archive with parent-directory or absolute entry names can write or overwrite files anywhere the extracting process can reach, which can lead to code execution through config, startup, cron or build files.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-30 23:26 UTC. All times on this page are UTC.
Applications written in Rust that depend on sevenz-rust2 and extract 7z archives, particularly those that unpack uploaded or otherwise untrusted archives with the default convenience functions. Programs that only create archives or that only extract archives they produced themselves are not exposed by this flaw.
No product ranges from the sources yet.
sevenz-rust2 in Cargo.lock (for example grep -A1 'name = "sevenz-rust2"' Cargo.lock).decompress, decompress_file, decompress_with_password or decompress_file_with_password from sevenz-rust2, especially on uploaded or untrusted archives.sevenz-rust2 0.21.1 or later.Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
sevenz-rust2 is a Rust-native 7z compressor and decompressor. Prior to 0.21.1, extracting an attacker-supplied 7z archive can write or overwrite files outside the destination directory. In src/util/decompress.rs, decompress_impl computes each destination with dest.join(entry.name()) without normalizing the archive's UTF-16 entry name or verifying containment, and default_entry_extract_fn writes to it with File::create. Parent-directory components escape the extraction root, and an absolute entry path makes the join discard the destination entirely. The convenience entry points decompress, decompress_file, decompress_with_password, and decompress_file_with_password all use this default path. Overwriting writable configuration, startup, cron, or build files can lead to code execution or persistence. The archive bytes are the attacker-controlled trust boundary, including for applications that automatically unpack uploaded or otherwise untrusted archives. This issue is fixed in version 0.21.1.
This page as .md · .json · in your agent: get_signal("CVE-2026-61725")
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.