GNU gzip 1.15 is out, and a good share of its fixes target bugs that have been in the compression tool from the start. Maintainer Jim Meyering announced the release in an email to the info-gnu mailing list, saying it includes 119 commits since version 1.14 shipped in April 2025, FOSS Force reported. “Considering the number of fixed bugs that have been ‘present since the beginning,’ gzip-1.15 should be the best gzip ever,” wrote FOSS Force’s Christine Hall. Phoronix also highlighted the long-standing bugs in its coverage.
Gzip has shipped with GNU/Linux and other Unix-like systems since 1992, and it still underpins tarballs, log rotation and countless scripts, so even small behavior changes matter to administrators.
Notable fixes
The most serious fix addresses a race: gzip could remove the wrong file if another process renamed an ancestor directory of a gzip destination at the same moment. Several fixes involve .lzh decompression, including a buffer overflow when decompressing an .lzh file after a .Z file, output corruption when an internal bit buffer wasn’t cleared, and corruption carried over from a previous .lzh file’s decoding table.
Other changes in the release notes:
gzip -dno longer rejects PKZIP signatures, local headers and data descriptors, which can appear in well-formed streamed zip files.- Diagnostics now quote file names that contain unusual characters.
- A use of uninitialized memory on some malformed inputs has been fixed.
gzip --synchronousnow correctly synchronizes unreadable parent directories on platforms with O_PATH, such as GNU/Linux, and parent directories on platforms like FreeBSD that have O_SEARCH but not O_PATH.- On older or limited platforms without mktemp, gzexe, zdiff and znew no longer have a race when creating temporary files.
Behavior changes to watch
Gzip no longer insists on the “C” locale and now follows the locale set in the environment, a change needed for file name quoting. That can alter how floating-point numbers appear in the output of the -l and -v options, though diagnostics remain in English. Scripts that parse that output may need a look.
gzip -l now reports “-Inf%” instead of “0.0%” for the compression ratio of an empty file, and znew’s -P option is now ignored with a warning, since it existed only for performance and had too many bugs to keep supporting. The release also drops support for FreeBSD 4.11, HP-UX 11.00, Minix 3.1.8 and Windows 8.1. Downloads are available from the GNU gzip website.


WebProNews is an iEntry Publication