Skip to content

Releases: miurahr/py7zr

Release version 1.1.3: Fix multiple vulnerabilities

Choose a tag to compare

@miurahr miurahr released this 19 Jun 09:31
Immutable release. Only release title and notes can be modified.
  • CVE-2026-23879: Arbitrary File Write Vulnerability in py7zr (high severity)
    • Harden check of path traversal and enhance test cases to reproduce many attack scenarios.
  • CVE-2026-55206: O(n^2) algorithmic complexity DoS in PackInfo._read() in py7zr
    • Enforced variation of the parameter with a limit and optimized calculation algorithm to prevent excessive CPU consumption.
  • CVE-2026-55195: py7zr <= 1.1.2: Decompression bomb (zip bomb) denial of service via unchecked extraction size
    • Added check of extraction size and introduced max_extract_size as constructor parameter to guard against excessive decompression.

Update path sanitize

Update path sanitize Pre-release
Pre-release

Choose a tag to compare

@miurahr miurahr released this 30 Jan 00:33
Immutable release. Only release title and notes can be modified.
Release v1.1.2

- Fix Zip-Slip vulnerability by symlink

Release version 1.1.0

Choose a tag to compare

@miurahr miurahr released this 21 Dec 03:30

Requirements

  • Minimum required Python 3.10
  • Add support for Python 3.14

Security

Fixed

  • The is_78zfile accept any path-like
  • The SevenZipFile accept IO[bytes]
  • Make FileInfo and ArchiveInfo dataclasses
  • The getInfo() returns FileInfo object

What's Changed in details

New Contributors

Full Changelog: v1.0.0...v1.1.0

Release version 1.0.0

Choose a tag to compare

@miurahr miurahr released this 02 Jun 11:07
Celebrating the official 1.0.0 release!

Release version 1.0.0rc3

Pre-release

Choose a tag to compare

@miurahr miurahr released this 15 May 05:32
v1.0.0rc3

Release v1.0.0rc3

Release v1.0.0-rc1

Release v1.0.0-rc1 Pre-release
Pre-release

Choose a tag to compare

@miurahr miurahr released this 08 Aug 15:11
02754d2
Release v1.0.0-rc1

Version 0.22.0

Choose a tag to compare

@miurahr miurahr released this 08 Aug 13:09
3d0bf3c
Release version 0.22.0

Added
-----
* Add mode "x" for SevenZipFile (#588)
* Add SevenZipFile#namelist method (#600)

Fixed
-----
* Append mode on non-existent files (#604)
* Fix NUMBER encoding of integer when 8 bytes(#591)

Changed
-------
* Minimum required Python version to be Python 3.8 (#601)
* Remove pyannotate from pyproject.toml (#598)

Document
--------
* Update user guide (#596)

Release v0.21.1

Choose a tag to compare

@miurahr miurahr released this 01 Jul 13:41
60e4899

What's Changed

New Contributors

Full Changelog: v0.21.0...v0.21.1

Release v0.21.0

Choose a tag to compare

@miurahr miurahr released this 02 Mar 02:10
48742d0

Speed up extraction when number of files is large

Release v0.20.7

Choose a tag to compare

@miurahr miurahr released this 05 Nov 22:40
73b5e24

Support Python 3.12