# XZ Utils v5.6.2 — XZ Utils 5.6.2 (stable) - Product: XZ Utils (https://whatsnew.fyi/product/xz-utils) - Vendor: XZ Utils - Date: 2024-05-29 - Version: v5.6.2 - Original notes: https://github.com/tukaani-project/xz/releases/tag/v5.6.2 - Permalink: https://whatsnew.fyi/product/xz-utils/releases/v5.6.2 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **security** — Remove the backdoor (CVE-2024-3094) - **fixed** — Fix a missing output pointer initialization (*i = NULL) in lzma_index_decoder() and lzma_index_buffer_decode() when called with invalid arguments - **fixed** — Fix a missing output pointer initialization (*error_pos = 0) in lzma_str_to_filters() - **fixed** — Fix C standard conformance with function pointer types in liblzma - **removed** — Remove GNU indirect function (IFUNC) support - **fixed** — Add error checking to CRC32 instruction support detection on FreeBSD ARM64 - **fixed** — Fix building with NVIDIA HPC SDK - **fixed** — Fix a C standard conformance issue in --block-list parsing (arithmetic on a null pointer) - **fixed** — Fix a warning from GNU groff when processing the man page: "warning: cannot select font 'CW'" - **added** — Add support for Linux Landlock ABI version 4 in xzdec - **added** — Add new configure option --enable-doxygen to enable generation and installation of the liblzma API documentation using Doxygen - **changed** — Symbol versioning variant can now be overridden with --enable-symbol-versions in Autotools-based build system - **fixed** — Fix detection of Linux Landlock support in CMake - **changed** — Disable symbol versioning on non-glibc Linux in CMake to match Autotools build behavior - **changed** — Symbol versioning variant can now be overridden by setting SYMBOL_VERSIONING to "OFF", "generic", or "linux" in CMake - **changed** — Add support for all tests in typical CMake build configurations - **changed** — Separate the CMake code for tests into tests/tests.cmake to allow removing the tests directory - **added** — Add ENABLE_DOXYGEN option in CMake to enable generation and installation of the liblzma API documentation using Doxygen - **removed** — Omit the Doxygen-generated liblzma API documentation from the source package - **removed** — Remove the XZ logo from API documentation **NOTE:** 5.2.13, 5.4.7, and 5.6.2 have a build system issue that prevents building of shared libraries on some systems like mips64. See the patch itself for details. The same patch applies to 5.2.13, 5.4.7, and 5.6.2. ``` 5.6.2 (2024-05-29) * Remove the backdoor (CVE-2024-3094). * Not changed: Memory sanitizer (MSAN) has a false positive in the CRC CLMUL code which also makes OSS Fuzz unhappy. Valgrind is smarter and doesn't complain. A revision to the CLMUL code is coming anyway and this issue will be cleaned up as part of it. It won't be backported to 5.6.x or 5.4.x because the old code isn't wrong. There is no reason to risk introducing regressions in old branches just to silence a false positive. * liblzma: - lzma_index_decoder() and lzma_index_buffer_decode(): Fix a missing output pointer initialization (*i = NULL) if the functions are called with invalid arguments. The API docs say that such an initialization is always done. In practice this matters very little because the problem can only occur if the calling application has a bug and these functions return LZMA_PROG_ERROR. - lzma_str_to_filters(): Fix a missing output pointer initialization (*error_pos = 0). This is very similar to the fix above. - Fix C standard conformance with function pointer types. - Remove GNU indirect function (IFUNC) support. This is *NOT* done for security reasons even though the backdoor relied on this code. The performance benefits of IFUNC are too tiny in this project to make the extra complexity worth it. - FreeBSD on ARM64: Add error checking to CRC32 instruction support detection. - Fix building with NVIDIA HPC SDK. * xz: - Fix a C standard conformance issue in --block-list parsing (arithmetic on a null pointer). - Fix a warning from GNU groff when processing the man page: "warning: cannot select font 'CW'" * xzdec: Add support for Linux Landlock ABI version 4. xz already had the v3-to-v4 change but it had been forgotten from xzdec. * Autotools-based build system (configure): - Symbol versioning variant can now be overridden with --enable-symbol-versions. Documentation in INSTALL was updated to match. - Add new configure option --enable-doxygen to enable generation and installation of the liblzma API documentation using Doxygen. Documentation in INSTALL and PACKAGERS was updated to match. CMake: - Fix detection of Linux Landlock support. The detection code in CMakeLists.txt had been sabotaged. - Disable symbol versioning on non-glibc Linux to match what the Autotools build does. For example, symbol versioning isn't enabled with musl. - Symbol versioning variant can now be overridden by setting SYMBOL_VERSIONING to "OFF", "generic", or "linux". - Add support for all tests in typical build configurations. Now the only difference to the tests coverage to Autotools is that CMake-based build will skip more tests if features are disabled. Such builds are only for special cases like embedded systems. - Separate the CMake code for the tests into tests/tests.cmake. It is used conditionally, thus it is possible to rm -rf tests and the CMake-based build will still work normally except that no tests are then available. - Add a option ENABLE_DOXYGEN to enable generation and installation of the liblzma API documentation using Doxygen. * Documentation: - Omit the Doxygen-generated liblzma API docume _[Truncated at 4000 characters — full notes: https://github.com/tukaani-project/xz/releases/tag/v5.6.2]_