Gzip 1.15 Fixes Bugs That Date Back to the Tool’s Early Days

GNU gzip 1.15 brings 119 commits since 1.14, fixing a wrong-file deletion race and several .lzh decompression bugs, and changing locale handling in ways that can affect script output.
Gzip 1.15 Fixes Bugs That Date Back to the Tool’s Early Days
Gzip 1.15 Fixes Bugs That Date Back to the Tool’s Early Days

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 -d no 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 --synchronous now 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.

Subscribe for Updates

SysAdminNews Newsletter

News & updates for IT system administrators.

By signing up for our newsletter you agree to receive content related to ientry.com / webpronews.com and our affiliate partners. For additional information refer to our terms of service.

Notice an error?

Help us improve our content by reporting any issues you find.

Get the WebProNews newsletter delivered to your inbox

Get the free daily newsletter read by decision makers

Subscribe
Advertise with Us

Ready to get started?

Get our media kit

Advertise with Us