new file mode 100644
@@ -0,0 +1,33 @@
+From 58eac7dbcf37290774f48b3464266dcc080fd700 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Wed, 16 Sep 2026 11:09:18 +0200
+Subject: [PATCH] cookie: accept slightly longer lines in cookie jars
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Closes #22964
+
+CVE: CVE-2026-92386
+Upstream-Status: Backport [https://github.com/curl/curl/commit/445aa87e13f91c94bc742f54343a2eac924e1765]
+
+Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com>
+---
+ lib/cookie.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/lib/cookie.c b/lib/cookie.c
+index 3255668ec7..12aae672dc 100644
+--- a/lib/cookie.c
++++ b/lib/cookie.c
+@@ -1181,7 +1181,9 @@ static CURLcode cookie_load(struct Curl_easy *data, const char *file,
+ if(fp) {
+ struct dynbuf buf;
+ bool eof = FALSE;
+- curlx_dyn_init(&buf, MAX_COOKIE_LINE);
++ /* accept a little longer lines so that a full cookie fits and does not
++ abort the file read */
++ curlx_dyn_init(&buf, MAX_COOKIE_LINE + 48);
+ do {
+ result = Curl_get_line(&buf, fp, &eof);
+ if(!result) {
@@ -18,6 +18,7 @@ SRC_URI = " \
file://CVE-2026-92388-2.patch \
file://CVE-2026-92389.patch \
file://CVE-2026-87865.patch \
+ file://CVE-2026-92386.patch \
"
SRC_URI:append:class-nativesdk = " \
This vulnerability, marked as High [1], was fixed upstream [2] since v8.23.0. Backport the fix to curl v8.22.0. [1] https://nvd.nist.gov/vuln/detail/cve-2026-92386 [2] https://curl.se/docs/CVE-2026-92386.html Signed-off-by: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com> --- .../curl/curl/CVE-2026-92386.patch | 33 +++++++++++++++++++ meta/recipes-support/curl/curl_8.22.0.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta/recipes-support/curl/curl/CVE-2026-92386.patch