Hi Yoann,
Thanks for the review. I will send a regression follow-up on top
of Joao's patch as soon as possible for Blacksail.
Regards,
Darsh
On Mon, Nov 23, 2026 at 10:33 PM, Yoann Congal wrote:
On Wed Nov 4, 2026 at 8:36 AM CET, Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco) via openembedded-core wrote:
From: Darsh Kelaiya <dkelaiya@cisco.com>
This patch applies the upstream fix as referenced in [2],
using the commit shown in [1].
Include the upstream correction [3] to accept every cookie-jar record
that curl can serialize. The original MAX_COOKIE_LINE + 48 allowance
is too small for long paths and domains. Keep both commits in separate
patches and include the test1902/lib1902.c regression coverage.
[1] https://github.com/curl/curl/commit/445aa87e13f91c94bc742f54343a2eac924e1765
[2] https://curl.se/docs/CVE-2026-92386.html
[3] https://github.com/curl/curl/commit/7d64440abba37e3d8039fe663d3edc84f582ce92
Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
---
.../curl/curl/CVE-2026-92386_p1.patch | 33 ++++
.../curl/curl/CVE-2026-92386_p2.patch | 146 ++++++++++++++++++
meta/recipes-support/curl/curl_8.19.0.bb | 2 +
3 files changed, 181 insertions(+)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-92386_p1.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-92386_p2.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-92386_p2.patch b/meta/recipes-support/curl/curl/CVE-2026-92386_p2.patch
new file mode 100644
index 00000000000..4228387ae63
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-92386_p2.patch
@@ -0,0 +1,146 @@
+From 7d64440abba37e3d8039fe663d3edc84f582ce92 Mon Sep 17 00:00:00 2001
+From: Zheng Yu <dataisland@outlook.com>
+Date: Wed, 14 Oct 2026 18:13:59 -0700
+Subject: [PATCH] cookie: reload complete self-generated cookie jar rows
+
+Closes #23407
+
+CVE: CVE-2026-92386
+Upstream-Status: Backport [https://github.com/curl/curl/commit/7d64440abba37e3d8039fe663d3edc84f582ce92]
+
+Backport Changes:
+- Match the two spaces before URL in the deleted CURLOPT_COOKIEJAR
+ line in lib1902.c; upstream's deleted line uses one space.
+
+(cherry picked from commit 7d64440abba37e3d8039fe663d3edc84f582ce92)
+Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
+---
+ lib/cookie.c | 9 ++++++---
+ tests/data/test1902 | 5 ++++-
+ tests/libtest/lib1902.c | 39 ++++++++++++++++++++++++++++++++++-----
+ 3 files changed, 44 insertions(+), 9 deletions(-)
Hello,
That _p2 looks indeed like a regression fix, it needs to be submitted to
blacksail.
Regards,
--
Yoann Congal
Smile ECS