Hi Yoann,
Thanks for reviewing this. I'll send backport patches for both Blacksail and Scarthgap as soon as possible.
Regards,
Darsh
On Sat, Nov 14, 2026 at 07:10 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 allocation-tracking reset fix [1] from upstream PR [2],
which is referenced by the NVD record [3].
Snapshot retained allocations during XML_ParserReset() and exclude
those bytes from the next document's allocation-amplification checks.
Include the required counter extraction, accounting-settings
correction and both upstream regression tests from the same PR.
Retain Expat 2.8.3's XmlBigCount counters and adapt the accounting
regression to its existing protection-setting APIs. Omit the PR's
comment-only encoding-check change because the later check that it
explains is absent from this source.
[1] https://github.com/libexpat/libexpat/commit/a6cf8a6944b6c6d81e74c4cd95faa29132e67aa3
[2] https://github.com/libexpat/libexpat/pull/1431
[3] https://nvd.nist.gov/vuln/detail/CVE-2026-113351
Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
---
.../expat/expat/CVE-2026-113351_p1.patch | 39 ++++++++
.../expat/expat/CVE-2026-113351_p2.patch | 65 +++++++++++++
.../expat/expat/CVE-2026-113351_p3.patch | 80 ++++++++++++++++
.../expat/expat/CVE-2026-113351_p4.patch | 95 +++++++++++++++++++
.../expat/expat/CVE-2026-113351_p5.patch | 70 ++++++++++++++
meta/recipes-core/expat/expat_2.8.3.bb | 7 +-
6 files changed, 355 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p1.patch
create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p2.patch
create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p3.patch
create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p4.patch
create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p5.patch
Hello,
I think master fixed the CVEs of this series by the 2.10.0 upgrade. But blacksail (at 2.8.5) is not fixed.
Can you send a blacksail series to fix those?*
Thanks!
--
Yoann Congal
Smile ECS