From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [wrynose][PATCH 1/3] expat: fix CVE-2026-113351 To: openembedded-core@lists.openembedded.org From: "Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)" X-Originating-Location: Mumbai, Maharashtra, IN (151.186.177.21) X-Originating-Platform: Windows Edge 158 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 24 Nov 2026 10:19:46 -0800 References: <20261105091719.1622520-1-dkelaiya@cisco.com> In-Reply-To: Message-ID: <1247346.1795544386148042042@lists.openembedded.org> Content-Type: multipart/alternative; boundary="bCNG200ffX0YNNMC4Chc" List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Tue, 24 Nov 2026 18:19:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251073 --bCNG200ffX0YNNMC4Chc Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Yoann, Thanks for the update. I've sent a series for Blacksail [1] which also contains CVE-2026-115506 and CVE-2026-124317 fixes. I checked master, but recently, an upgrade has been proposed there. [1] https://lists.openembedded.org/g/openembedded-core/message/251071 Regards, Darsh On Sat, Nov 21, 2026 at 05:17 AM, Yoann Congal wrote: >=20 > On Thu Nov 5, 2026 at 10:17 AM CET, Darsh Kelaiya -X (dkelaiya - E > INFOCHIPS PRIVATE LIMITED at Cisco) via openembedded-core wrote: >=20 >> From: Darsh Kelaiya >>=20 >> Backport the allocation-tracking reset fix [1] from upstream PR [2], >> which is referenced by the NVD record [3]. >>=20 >> 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. >>=20 >> 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. >>=20 >> [1] https://github.com/libexpat/libexpat/commit/a6cf8a6944b6c6d81e74c4cd= 95faa29132e67aa3 >>=20 >> [2] https://github.com/libexpat/libexpat/pull/1431 >> [3] https://nvd.nist.gov/vuln/detail/CVE-2026-113351 >>=20 >> Signed-off-by: Darsh Kelaiya >> --- >> .../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.patc= h >> create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p2.patc= h >> create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p3.patc= h >> create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p4.patc= h >> create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p5.patc= h >=20 > Hello, >=20 > FYI, I received patches for blacksail for > CVE-2026-117610 and CVE-2026-118370 (patches 2-3/3) but not for this one > CVE-2026-113351 (patch 1/3). >=20 > Regards, > -- > Yoann Congal > Smile ECS --bCNG200ffX0YNNMC4Chc Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hello Yoann,

Thanks for the update. I've sent a series for = Blacksail [1] which also
contains CVE-2026-115506 and CVE-2026-124317 fixes. I checked
master, but recently, an upgrade has been proposed there.
 
[1] https://lists.openembedded.o= rg/g/openembedded-core/message/251071

Regards,
Darsh
 
On Sat, Nov 21, 2026 at 05:17 AM, 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>

Backp= ort the allocation-tracking reset fix [1] from upstream PR [2],
which = is referenced by the NVD record [3].

Snapshot retained allocatio= ns during XML_ParserReset() and exclude
those bytes from the next docu= ment's allocation-amplification checks.
Include the required counter e= xtraction, accounting-settings
correction and both upstream regression= tests from the same PR.

Retain Expat 2.8.3's XmlBigCount counte= rs and adapt the accounting
regression to its existing protection-sett= ing 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-202= 6-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 +++++++++++++
.../ex= pat/expat/CVE-2026-113351_p3.patch | 80 ++++++++++++++++
.../expat/exp= at/CVE-2026-113351_p4.patch | 95 +++++++++++++++++++
.../expat/expat/C= VE-2026-113351_p5.patch | 70 ++++++++++++++
meta/recipes-core/expat/ex= pat_2.8.3.bb | 7 +-
6 files changed, 355 insertions(+), 1 deletion(-)<= br />create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p1.pa= tch
create mode 100644 meta/recipes-core/expat/expat/CVE-2026-113351_p= 2.patch
create mode 100644 meta/recipes-core/expat/expat/CVE-2026-1133= 51_p3.patch
create mode 100644 meta/recipes-core/expat/expat/CVE-2026-= 113351_p4.patch
create mode 100644 meta/recipes-core/expat/expat/CVE-2= 026-113351_p5.patch
Hello,

FYI, I received patches for blacksail for
CVE-2026-1= 17610 and CVE-2026-118370 (patches 2-3/3) but not for this one
CVE-202= 6-113351 (patch 1/3).

Regards,
--
Yoann Congal
S= mile ECS
--bCNG200ffX0YNNMC4Chc--