public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] xz: Update to version 5.8.3
Date: Tue,  7 Apr 2026 17:11:08 +0200	[thread overview]
Message-ID: <20260407151108.3472751-35-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20260407151108.3472751-1-adolf.belka@ipfire.org>

- Update from version 5.8.2 to 5.8.3
- Update of rootfile
- Fix for a CVE
- Changelog
    5.8.3
    IMPORTANT: This includes a fix for CVE-2026-34743 which affects all
    XZ Utils versions since 5.0.0. No new 5.2.x, 5.4.x, or 5.6.x
    releases will be made, but the fix is in the v5.2, v5.4, and v5.6
    branches in the xz Git repository.
    * liblzma:
        - Fix a buffer overflow in lzma_index_append(): If
          lzma_index_decoder() was used to decode an Index that
          contained no Records, the resulting lzma_index was left in
          a state where where a subsequent lzma_index_append() would
          allocate too little memory, and a buffer overflow would occur.
          The lzma_index functions are rarely used by applications
          directly. In the few applications that do use these functions,
          the combination of function calls required to trigger this bug
          are unlikely to exist, because there typically is no reason to
          append Records to a decoded lzma_index. Thus, it's likely that
          this bug cannot be triggered in any real-world application.
          The bug was reported and discovered by Cantina using their
          AppSec agent, Apex.
        - Fix the build on Windows ARM64EC.
        - Add "License: 0BSD" to liblzma.pc.
    * xz:
        - Fix invalid memory access in --files and --files0. All of
          the following must be true to trigger it:
            1. A string being read (which supposedly is a filename) is
               at least SIZE_MAX / 2 bytes long. This size is plausible
               on 32-bit platforms (2 GiB - 1 B).
            2. realloc(ptr, SIZE_MAX / 2 + 1) must succeed.
               On glibc >= 2.30 it shouldn't because the value
               exceeds PTRDIFF_MAX.
            3. An integer overflow results in a realloc(ptr, 0) call.
               If it doesn't return NULL, then invalid memory access
               will occur.
        - On QNX, don't use fsync() on directories because it fails.
    * Autotools: Enable 32-bit x86 assembler on Hurd by default.
      It was already enabled in the CMake-based build.
    * Translations: Add Arabic man page translations.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/xz | 27 ++++++++++++++++++++++++++-
 lfs/xz                     |  9 +++++----
 2 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/config/rootfiles/common/xz b/config/rootfiles/common/xz
index c6b433803..5debdf404 100644
--- a/config/rootfiles/common/xz
+++ b/config/rootfiles/common/xz
@@ -41,7 +41,7 @@ usr/bin/xzmore
 #usr/lib/liblzma.la
 #usr/lib/liblzma.so
 usr/lib/liblzma.so.5
-usr/lib/liblzma.so.5.8.2
+usr/lib/liblzma.so.5.8.3
 #usr/lib/pkgconfig/liblzma.pc
 #usr/share/doc/xz
 #usr/share/doc/xz/AUTHORS
@@ -88,6 +88,31 @@ usr/lib/liblzma.so.5.8.2
 #usr/share/locale/vi/LC_MESSAGES/xz.mo
 #usr/share/locale/zh_CN/LC_MESSAGES/xz.mo
 #usr/share/locale/zh_TW/LC_MESSAGES/xz.mo
+#usr/share/man/ar
+#usr/share/man/ar/man1
+#usr/share/man/ar/man1/lzcat.1
+#usr/share/man/ar/man1/lzcmp.1
+#usr/share/man/ar/man1/lzdiff.1
+#usr/share/man/ar/man1/lzegrep.1
+#usr/share/man/ar/man1/lzfgrep.1
+#usr/share/man/ar/man1/lzgrep.1
+#usr/share/man/ar/man1/lzless.1
+#usr/share/man/ar/man1/lzma.1
+#usr/share/man/ar/man1/lzmadec.1
+#usr/share/man/ar/man1/lzmainfo.1
+#usr/share/man/ar/man1/lzmore.1
+#usr/share/man/ar/man1/unlzma.1
+#usr/share/man/ar/man1/unxz.1
+#usr/share/man/ar/man1/xz.1
+#usr/share/man/ar/man1/xzcat.1
+#usr/share/man/ar/man1/xzcmp.1
+#usr/share/man/ar/man1/xzdec.1
+#usr/share/man/ar/man1/xzdiff.1
+#usr/share/man/ar/man1/xzegrep.1
+#usr/share/man/ar/man1/xzfgrep.1
+#usr/share/man/ar/man1/xzgrep.1
+#usr/share/man/ar/man1/xzless.1
+#usr/share/man/ar/man1/xzmore.1
 #usr/share/man/de
 #usr/share/man/de/man1
 #usr/share/man/de/man1/lzcat.1
diff --git a/lfs/xz b/lfs/xz
index 465a3b183..a8de6c5d7 100644
--- a/lfs/xz
+++ b/lfs/xz
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2026  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 5.8.2
+VER        = 5.8.3
 
 THISAPP    = xz-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -45,7 +45,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 3788b52c41adb4af32a5221b9c497044068343f1489508b90c9fb00188463e1eb3bc9df91b0457f1e9524c5e45dd2c374fd26f535994f04f94d2d200ccc4d85c
+$(DL_FILE)_BLAKE2 = 36d6ae3ce1ee70f1d18d10107f7d6b4dfb43c34e11d8ec4504feeaa50b43cfa8d80de2b8ac2a1b66478723a83b4ebacf4179b69fb4d746f08b120b2e804fc2ce
 
 install : $(TARGET)
 
@@ -75,7 +75,8 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && ./configure --prefix=$(PREFIX)
+	cd $(DIR_APP) && ./configure \
+				--prefix=$(PREFIX)
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)
-- 
2.53.0



      parent reply	other threads:[~2026-04-07 15:11 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-07 15:10 [PATCH] boost: Update to version 1_90_0 Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship boost Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship libpng Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship libsodium Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship liburcu Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship lmdb Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship lvm2 Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship man-pages Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship mdadm Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship ncat Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship pango Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship sqlite Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship tzdata Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship vim Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship xfsprogs Adolf Belka
2026-04-07 15:10 ` [PATCH] core202: Ship xz Adolf Belka
2026-04-07 15:10 ` [PATCH] libpng: Update to version 1.6.56 Adolf Belka
2026-04-07 15:10 ` [PATCH] libsodium: Update to version 1.0.21 Adolf Belka
2026-04-07 15:10 ` [PATCH] liburcu: Update to version 0.15.6 Adolf Belka
2026-04-07 15:10 ` [PATCH] lmdb: Update to version 0.9.35 Adolf Belka
2026-04-07 15:10 ` [PATCH] lvm2: Update to version 2.03.39 Adolf Belka
2026-04-07 15:10 ` [PATCH] man-pages: Update to version 6.17 Adolf Belka
2026-04-07 15:10 ` [PATCH] mdadm: Update to version 4.6 Adolf Belka
2026-04-07 15:10 ` [PATCH] ncat: Update to version 7.99 Adolf Belka
2026-04-07 15:10 ` [PATCH] nfs: Update to version 2.9.1 Adolf Belka
2026-04-07 15:10 ` [PATCH] nmap: Update to version 7.99 Adolf Belka
2026-04-07 15:11 ` [PATCH] pango: Update to version 1.57.1 Adolf Belka
2026-04-07 15:11 ` [PATCH] postfix: Update to version 3.11.1 Adolf Belka
2026-04-07 15:11 ` [PATCH] sqlite: Update to version 3510300 Adolf Belka
2026-04-07 15:11 ` [PATCH] strongswan: Update to version 6.0.5 Adolf Belka
2026-04-07 15:11 ` [PATCH] transmission: Update to version 4.1.1 Adolf Belka
2026-04-07 15:11 ` [PATCH] tzdata: Update to version 2026a Adolf Belka
2026-04-07 15:11 ` [PATCH] vim: Update to version 9.2.0305 Adolf Belka
2026-04-07 15:11 ` [PATCH] xfsprogs: Update to version 6.19.0 Adolf Belka
2026-04-07 15:11 ` Adolf Belka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260407151108.3472751-35-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox