On Thu Jul 9, 2026 at 4:06 PM CEST, Amaury Couderc via lists.openembedded.org wrote: > From: Amaury Couderc <[email protected]> > > The existing hash flooding protection (based on SipHash) only used 4 to 8 > bytes of entropy for a salt, when 16 bytes of salt are supported by the > implementation of SipHash used by Expat. Now full 16 bytes of entropy are > used to improve protection against hash flooding attacks. > > Introduces new API function XML_SetHashSalt16Bytes and deprecates the > legacy XML_SetHashSalt which is limited to 4-8 bytes. > > The fix is split into 2 patches for reviewability: > 1. Main CVE fix: migrates hash salt to 128-bit struct sipkey, extracts > 16 bytes of entropy, removes dead get_hash_secret_salt function > (copy_salt_to_sipkey accesses the struct directly), adds > XML_SetHashSalt16Bytes API, deprecates XML_SetHashSalt, adds symbol > export, backport feature macro, tests, and documentation. > 2. Windows/cmake: adds the missing .def export for the new symbol. > > Note: the prerequisite commits that Peter Marko needed for scarthgap > (clang-tidy misc-no-recursion fix and WASI getpid removal) are already > present in expat 2.7.5, so they are not needed here. > > Backport patch to fix CVE-2026-41080 > https://nvd.nist.gov/vuln/detail/CVE-2026-41080 > > Upstream fix: > https://github.com/libexpat/libexpat/pull/1183 > > CVE: CVE-2026-41080 > > Signed-off-by: Amaury Couderc <[email protected]> > --- > .../expat/expat/CVE-2026-41080-1.patch | 517 ++++++++++++++++++ > .../expat/expat/CVE-2026-41080-2.patch | 33 ++ > meta/recipes-core/expat/expat_2.7.5.bb | 2 + > 3 files changed, 552 insertions(+) > create mode 100644 meta/recipes-core/expat/expat/CVE-2026-41080-1.patch > create mode 100644 meta/recipes-core/expat/expat/CVE-2026-41080-2.patch
Hello, Is there a patch 2/2 to go with this 1/2? If so, it is missing: https://lore.kernel.org/openembedded-core/[email protected]/T/#u Regards, -- Yoann Congal Smile ECS
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240582): https://lists.openembedded.org/g/openembedded-core/message/240582 Mute This Topic: https://lists.openembedded.org/mt/120190614/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
