Hello Yoann,

Thanks for the review. I'll retain the regression test in Wrynose and
submit a test-only follow-up for Blacksail as soon as possible.
 
Regards,
Darsh
 
On Mon, Nov 23, 2026 at 07:06 PM, Yoann Congal wrote:
On Thu Nov 5, 2026 at 10:17 AM CET, Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco) via openembedded-core wrote:
From: Darsh Kelaiya <dkelaiya@cisco.com>

Backport the merged upstream fix [1] identified by the release
announcement [2], together with its regression test [3]. An initial
empty, non-final external-entity parse must remain in the correct
initialization state instead of reaching a handler with invalid state.

Use the final merged PR 1444 commits; the earlier advisory reference
7b0d50e4b1d16fafd55876260701e04279a7489d was superseded during review.
The regression test uses Expat 2.8.3's existing XCS literals and
xcstrcmp helper, so no string-helper refactoring is required.

The focused external-entity case crashes the unpatched native library
and passes with this fix. The full native unit suite also passes.
BitBake was not run.

[1] https://github.com/libexpat/libexpat/commit/bfc28346fa3efeb8ca56c17437d24a7344e5feab
[2] https://www.openwall.com/lists/oss-security/2026/11/02/6
[3] https://github.com/libexpat/libexpat/commit/cedb704d2cad9d6ef77f8f172104d3e751eccfd2

Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
---
.../expat/expat/CVE-2026-117610_p1.patch | 30 ++++++
.../expat/expat/CVE-2026-117610_p2.patch | 92 +++++++++++++++++++
meta/recipes-core/expat/expat_2.8.3.bb | 2 +
3 files changed, 124 insertions(+)
create mode 100644 meta/recipes-core/expat/expat/CVE-2026-117610_p1.patch
create mode 100644 meta/recipes-core/expat/expat/CVE-2026-117610_p2.patch

diff --git a/meta/recipes-core/expat/expat/CVE-2026-117610_p2.patch b/meta/recipes-core/expat/expat/CVE-2026-117610_p2.patch
new file mode 100644
index 0000000000..2ebe6446c4
--- /dev/null
+++ b/meta/recipes-core/expat/expat/CVE-2026-117610_p2.patch
@@ -0,0 +1,92 @@
+From cedb704d2cad9d6ef77f8f172104d3e751eccfd2 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Mon, 26 Oct 2026 17:17:57 +0100
+Subject: [PATCH] tests: Add a test for a initial non-final empty subparser
+ parse
+
+.. with a handler call
+
+CVE: CVE-2026-117610
+Upstream-Status: Backport [https://github.com/libexpat/libexpat/commit/cedb704d2cad9d6ef77f8f172104d3e751eccfd2]
+
+Backport Changes:
+- Compare handler data with the existing XCS macro and xcstrcmp test
+ helper in Expat 2.8.3. This replaces xcsdup_str allocations,
+ allocation assertions and frees, avoiding the newer xcs helpers.
+
+Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
Hello,

Blacksail backport does not have this _p2 adding the test. Can you
either:
* resent this without the test, or
* send the patch adding the test to blacksail? (Since the recipe has
ptest, adding a test for the non regression of a CVE fix is
acceptable)

Regards,
--
Yoann Congal
Smile ECS