From patchwork Tue Nov 24 17:27:34 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10824 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jYqWg47jsz3wgy for ; Tue, 24 Nov 2026 17:27:43 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jYqWf6PXbz7C9 for ; Tue, 24 Nov 2026 17:27:42 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jYqWf5cb3z2xnL for ; Tue, 24 Nov 2026 17:27:42 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jYqWc0nXkz30Sk for ; Tue, 24 Nov 2026 17:27:40 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jYqWb1KTkz6Q2; Tue, 24 Nov 2026 17:27:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795541259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8GsCVTZgl+WbrglqraWigS6Yk8dNqnVWiWI3rZSvwhQ=; b=gun47Sxs1HVsP1fv1LADuZBC1+8Ck7vY/fNUsaUXJfggczC9jRSTWqdoeqi4mavAxPSPUd AyFzsq+DXI8lY2lITqG+PksccvODrc2AugYH7EUg/q77IPaEayEcmwN77a1r5ny25BECzB u91ThMQCtXkppISTGxn7earpMeSQHMMJMP3jV7g1zV7o06uN0deMqKtmBafo/Yp1ZL2yv/ 7QY0jAqVnaVI85WVTO6tLHlfsSVKh0Xe0pT77TV4z04l3sndyNQ1vfHhHvgonFL5h9wCFV xm0JwALRBJrlEp/QPfabGeyP8BNrtDiuP8U3z0hwFYYSesynvHiPN5ZBY3OvCA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795541259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8GsCVTZgl+WbrglqraWigS6Yk8dNqnVWiWI3rZSvwhQ=; b=ZZJwRtMFeAkrItpBvAOqgp7UEFly4nyGCB9HTYoul3L9SGS5I2l4RivLF3ZwsbEixMvGPB GxTjn7OTfWJHcvCQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] expat: Update to version 2.11.0 Date: Tue, 24 Nov 2026 18:27:34 +0100 Message-ID: <20261124172734.3258951-2-adolf.belka@ipfire.org> In-Reply-To: <20261124172734.3258951-1-adolf.belka@ipfire.org> References: <20261124172734.3258951-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 2.10.0 to 2.11.0 - Update of rootfile - 3 CVE fixes - Changelog 2.11.0 Security fixes: *1492⁠ CVE-2026-124317 -- Fix overread in unknown encoding decoder It needs use of `XML_SetUnknownEncodingHandler` to be affected. *1502⁠ CVE-2026-128241 -- xmlwf: Plug symlink attacks with the `-d ` mode. The xmlwf CLI of libexpat was vulnerable to symlink attacks in the `-d ` mode with a target directory writable by other users, e.g. /tmp. The attack allowed truncation or overwriting the symlink target file depending on the well-formedness of the XML being parsed. *1519 CVE-2026-134703 -- Malformed UTF-16 content ending in isolated high surrogates could be passed to character data and default handlers depending on their location in the parsed document and could cause arbitrary damage depending on the handler code in the application using libexpat. Applications can expect text free from isolated surrogates from Expat. Similar to past CVE-2026-93990 and CVE-2022-25235. *1495 Restore and document `-fno-strict-aliasing` for security with both GCC and Clang >=20. libexpat continues to be `-Wstrict-aliasing=3` clean and to reject violations via CI but there are multiple known strict aliasing violations within libexpat that despite `-Wstrict-aliasing=3` are not detected by GCC and which are hard to impossible to resolve without a mess. These and potentially other cases run the risk of miscompilation(!) with `-O2/-O3/Os` without explicit `-fno-strict-aliasing`. Hence `-fno-strict-aliasing` is brought back to both build systems and is recommended to everyone embedding libexpat in particular (but not only) to avoid surprises from potential miscompilation. If curious, for the 2016 article by John Regehr that motivated this move please see: https://blog.regehr.org/archives/1307 . Bug fixes: *1469 *1485 lib: Be robust towards handler reset *1430 *1481⁠ lib: Ensure non-NULL `parser->m_eventPtr` for non-error calls to `XML_Parse` with `XML_CONTEXT_BYTES == 0` *1430 *1491 lib: Advance `m_eventPtr` to `m_bufferPtr` when possible *1501 lib: Ensure healthy `m_eventPtr` and `m_positionPtr` pairing after final parse *1505 *1506 lib: Make `eventPtr` independent in initial error parse *1507 lib: Fix three name and namestart character false positives: - U+00AA(=170) "feminine ordinal indicator" - U+00B5(=181) "micro sign" - U+00BA(=186) "masculine ordinal indicator" *1517⁠ lib: Initialize `m_idAttIndex` in `parserInit` *1490 xmlwf: Reject zero read buffer size *1502 xmlwf: Create files with 0600 rather than 0666 mode *1514 *1518 xmlwf: Reject empty, negative and whitespace-starting values for command line arguments `-b` and `-g` New features: *1476 lib: Add new `size_t`-based public parsing functions: - XML_GetBuffer64 - XML_Parse64 - XML_ParseBuffer64 *1476 *1503 lib: Allow total buffer size beyond `INT_MAX` *1455 lib: Leverage initial no-buffer parse with `XML_CONTEXT_BYTES > 0` as well... which reduces the memory footprint for the first parsing call per parser instance *1476 xmlwf: Raise limit for `-g ` from `INT_MAX/2+1` to `INT_MAX` *171 *1507⁠ .. *1520 lib: Migrate from XML 1.0r4 to XML 1.0r5 name character set for UTF-8 and UTF-16 (both little- and big-endian). Every single codepoint is tested by the test suite. Other changes: *1462 *1464 .. *1465 *1466 .. *1475 *1479 .. *1480 *1487 lib: Migrate to `size_t` internally *1471 lib: Enforce that `XML_GetInputContext*` can only be called from within handlers *1422 *1468⁠ lib: Drop "u" suffixes for literals used in debug level comparisons *1472 lib: Extract function `internalGetBuffer64` *1473 lib: Resolve redundant `else` near `parser->m_errorCode != XML_ERROR_NONE` *1496 lib: A couple of `lookupWithLength` simplifications *1477⁠ lib|xmlwf: Pass `NULL` instead of 0 for a pointer *1497 xmlwf: Migrate to `size_t` internally *1489⁠ xmlwf|examples: Increase buffer size to 32 KiB *1488 examples: Migrate to `size_t` *1483 tests: Drop leading underscore from `_XML_Parse_SINGLE_BYTES` because it is forbidden by C99 *1493 tests: Check for leaks on allocation-failure code paths in the absence of LeakSanitizer *1507⁠ tests: Upgrade W3C XML test suite from 2008 to 2013 *1521 tests: Address harmless `memset` truncation warning *1504 Autotools|macOS: Sync macOS CMake templates with CMake 4.5.0 *1512⁠ Autotools|CMake: Integrate gennmtab.c with both build systems *1470 *1494 Version info bumped from 14:1:13 (libexpat*.so.1.13.1) to 15:0:14 (libexpat*.so.1.14.0); see https://verbump.de/ for what these numbers do Infrastructure: *1484 CI: Fix runner image typo "macoS-26" in `autotools-cmake.yml` *1486 CI: Bump MinGW Clang from 23.1.4 to 23.1.5 *1511 CI: Get rid of PowerShell (in favor of Bash) *1513⁠ CI: Validate downloads in Windows binaries CI *1515 CI: Bump Inno Setup to 7.1.1 with Windows binaries CI *1516⁠ CI: Bump Clang-based MinGW to 20261117 with Clang 23.1.6 Signed-off-by: Adolf Belka --- config/rootfiles/common/expat | 20 ++++++++++---------- lfs/expat | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config/rootfiles/common/expat b/config/rootfiles/common/expat index 7d41bfae1..8e9ed1176 100644 --- a/config/rootfiles/common/expat +++ b/config/rootfiles/common/expat @@ -2,21 +2,21 @@ #usr/include/expat.h #usr/include/expat_config.h #usr/include/expat_external.h -#usr/lib/cmake/expat-2.10.0 -#usr/lib/cmake/expat-2.10.0/expat-config-version.cmake -#usr/lib/cmake/expat-2.10.0/expat-config.cmake -#usr/lib/cmake/expat-2.10.0/expat-noconfig.cmake -#usr/lib/cmake/expat-2.10.0/expat.cmake +#usr/lib/cmake/expat-2.11.0 +#usr/lib/cmake/expat-2.11.0/expat-config-version.cmake +#usr/lib/cmake/expat-2.11.0/expat-config.cmake +#usr/lib/cmake/expat-2.11.0/expat-noconfig.cmake +#usr/lib/cmake/expat-2.11.0/expat.cmake #usr/lib/libexpat.la #usr/lib/libexpat.so usr/lib/libexpat.so.1 -usr/lib/libexpat.so.1.13.1 +usr/lib/libexpat.so.1.14.0 #usr/lib/pkgconfig/expat.pc #usr/share/doc/expat -#usr/share/doc/expat-2.10.0 -#usr/share/doc/expat-2.10.0/ok.min.css -#usr/share/doc/expat-2.10.0/reference.html -#usr/share/doc/expat-2.10.0/style.css +#usr/share/doc/expat-2.11.0 +#usr/share/doc/expat-2.11.0/ok.min.css +#usr/share/doc/expat-2.11.0/reference.html +#usr/share/doc/expat-2.11.0/style.css #usr/share/doc/expat/AUTHORS #usr/share/doc/expat/changelog #usr/share/man/man1/xmlwf.1 diff --git a/lfs/expat b/lfs/expat index 3caf002bd..ac458e190 100644 --- a/lfs/expat +++ b/lfs/expat @@ -24,7 +24,7 @@ include Config -VER = 2.10.0 +VER = 2.11.0 THISAPP = expat-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = ac940001ac7e18cfa2639e881324006a8272e69e5b83ca06da4d080eaead60366930782e38dd559abc9fd0dcede23a557683bc871e4bdea287167822fd8f3416 +$(DL_FILE)_BLAKE2 = b8536c478bacf637aecd587fe5a85a0e2d702d3a3dd85e5c88930ec0a4ca5dae064fbff3b65e988bde6fe8aa34dfe9c9e342b44f3c8bf8087cdd5f494a0e23e2 install : $(TARGET)