* [OE-core][wrynose][PATCH 2/6] curl: Security Fix for CVE-2026-18924
2026-09-09 20:33 [OE-core][wrynose][PATCH 1/6] curl: Security Fix for CVE-2026-13608 Siddharth
@ 2026-09-09 20:33 ` Siddharth
2026-09-09 20:33 ` [OE-core][wrynose][PATCH 3/6] curl: Security Fix for CVE-2026-80229 Siddharth
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Siddharth @ 2026-09-09 20:33 UTC (permalink / raw)
To: openembedded-core; +Cc: Siddharth Doshi
From: Siddharth Doshi <sdoshi@mvista.com>
Picking patch as per [1], and same patch is mentioned in [2]
[1] https://curl.se/docs/CVE-2026-18924.html
[2] https://security-tracker.debian.org/tracker/CVE-2026-18924
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
---
.../curl/curl/CVE-2026-18924.patch | 39 +++++++++++++++++++
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
2 files changed, 40 insertions(+)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-18924.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-18924.patch b/meta/recipes-support/curl/curl/CVE-2026-18924.patch
new file mode 100644
index 0000000000..fbf452e4e9
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-18924.patch
@@ -0,0 +1,39 @@
+From 90325ff0444cbdff368bda5d26d6405a0bb6ee43 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Wed, 5 Aug 2026 10:02:53 +0200
+Subject: [PATCH] http2: make server push transfers inherit share from parent
+
+Reported-by: Stephan Zeisberg
+Closes #22488
+
+Upstream-Status: Backport [https://github.com/curl/curl/commit/90325ff0444cbdff368bda5d26d6405a0bb6ee43]
+CVE: CVE-2026-18924
+Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
+---
+ lib/http2.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/lib/http2.c b/lib/http2.c
+index e1c5798..2ef1c28 100644
+--- a/lib/http2.c
++++ b/lib/http2.c
+@@ -46,6 +46,7 @@
+ #include "bufref.h"
+ #include "curlx/dynbuf.h"
+ #include "headers.h"
++#include "curl_share.h"
+
+ #if (NGHTTP2_VERSION_NUM < 0x010c00)
+ #error too old nghttp2 version, upgrade!
+@@ -709,6 +710,8 @@ static struct Curl_easy *h2_duphandle(struct Curl_cfilter *cf,
+ struct h2_stream_ctx *second_stream;
+ http2_data_setup(cf, second, &second_stream);
+ second->state.priority.weight = data->state.priority.weight;
++ if(data->share)
++ (void)Curl_share_easy_link(second, data->share);
+ }
+ return second;
+ }
+--
+2.34.1
+
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index c20987ca29..c466132ca4 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -28,6 +28,7 @@ SRC_URI = " \
file://CVE-2026-8932-dependent.patch \
file://CVE-2026-8932.patch \
file://CVE-2026-13608.patch \
+ file://CVE-2026-18924.patch \
"
SRC_URI:append:class-nativesdk = " \
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [OE-core][wrynose][PATCH 3/6] curl: Security Fix for CVE-2026-80229
2026-09-09 20:33 [OE-core][wrynose][PATCH 1/6] curl: Security Fix for CVE-2026-13608 Siddharth
2026-09-09 20:33 ` [OE-core][wrynose][PATCH 2/6] curl: Security Fix for CVE-2026-18924 Siddharth
@ 2026-09-09 20:33 ` Siddharth
2026-09-09 20:33 ` [OE-core][wrynose][PATCH 4/6] curl: Security Fix for CVE-2026-80255 Siddharth
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Siddharth @ 2026-09-09 20:33 UTC (permalink / raw)
To: openembedded-core; +Cc: Siddharth Doshi
From: Siddharth Doshi <sdoshi@mvista.com>
Picking patch as per [1], and same patch is mentioned in [2]
[1] https://curl.se/docs/CVE-2026-80229.html
[2] https://security-tracker.debian.org/tracker/CVE-2026-80229
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
---
.../curl/curl/CVE-2026-80229.patch | 35 +++++++++++++++++++
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
2 files changed, 36 insertions(+)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-80229.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-80229.patch b/meta/recipes-support/curl/curl/CVE-2026-80229.patch
new file mode 100644
index 0000000000..74be963fa4
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-80229.patch
@@ -0,0 +1,35 @@
+From 272d5928188bc2171fdeba81027b24145a033fb2 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Tue, 25 Aug 2026 11:14:30 +0200
+Subject: [PATCH 3/5] openssl: avoid conn reuse if provider is used
+
+Reported-by: Stanislav Fort
+
+Closes #22665
+
+Upstream-Status: Backport [https://github.com/curl/curl/commit/7ea37abc6ac0120ba5f6d94be8d196f7cf1506bb]
+CVE: CVE-2026-80229
+Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
+---
+ lib/vtls/openssl.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
+index 9cbab14..1d0f7b7 100644
+--- a/lib/vtls/openssl.c
++++ b/lib/vtls/openssl.c
+@@ -3753,6 +3753,11 @@ CURLcode Curl_ossl_ctx_init(struct ossl_ctx *octx,
+ ossl_strerror(ERR_peek_error(), error_buffer, sizeof(error_buffer)));
+ return CURLE_OUT_OF_MEMORY;
+ }
++#ifdef OPENSSL_HAS_PROVIDERS
++ if(data->state.libctx)
++ /* forbid connection reuse with provider/engine use */
++ connclose(data->conn, "forbid connection reuse with provider/engine use");
++#endif
+
+ if(cb_setup) {
+ result = cb_setup(cf, data, cb_user_data);
+--
+2.34.1
+
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index c466132ca4..a55cea4e31 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -29,6 +29,7 @@ SRC_URI = " \
file://CVE-2026-8932.patch \
file://CVE-2026-13608.patch \
file://CVE-2026-18924.patch \
+ file://CVE-2026-80229.patch \
"
SRC_URI:append:class-nativesdk = " \
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [OE-core][wrynose][PATCH 4/6] curl: Security Fix for CVE-2026-80255
2026-09-09 20:33 [OE-core][wrynose][PATCH 1/6] curl: Security Fix for CVE-2026-13608 Siddharth
2026-09-09 20:33 ` [OE-core][wrynose][PATCH 2/6] curl: Security Fix for CVE-2026-18924 Siddharth
2026-09-09 20:33 ` [OE-core][wrynose][PATCH 3/6] curl: Security Fix for CVE-2026-80229 Siddharth
@ 2026-09-09 20:33 ` Siddharth
2026-09-09 20:33 ` [OE-core][wrynose][PATCH 5/6] curl: set CVE_STATUS for CVE-2026-82208 Siddharth
2026-09-09 20:33 ` [OE-core][wrynose][PATCH 6/6] curl: set CVE_STATUS for CVE-2026-82209 Siddharth
4 siblings, 0 replies; 6+ messages in thread
From: Siddharth @ 2026-09-09 20:33 UTC (permalink / raw)
To: openembedded-core; +Cc: Siddharth Doshi
From: Siddharth Doshi <sdoshi@mvista.com>
Picking patch as per [1], and same patch is mentioned in [2]
[1] https://curl.se/docs/CVE-2026-80255.html
[2] https://security-tracker.debian.org/tracker/CVE-2026-80255
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
---
.../curl/curl/CVE-2026-80255.patch | 106 ++++++++++++++++++
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
2 files changed, 107 insertions(+)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-80255.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-80255.patch b/meta/recipes-support/curl/curl/CVE-2026-80255.patch
new file mode 100644
index 0000000000..964193bcbd
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-80255.patch
@@ -0,0 +1,106 @@
+From 4f6aa41a0145e930e766775dbe860883d350aa0a Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Thu, 27 Aug 2026 08:33:30 +0200
+Subject: [PATCH] cookie: improve TAB handling
+
+For entries with a leading tab. Verified in test 2885.
+
+Reported-by: Stanislav Fort
+Closes #22699
+
+Upstream-Status: Backport [https://github.com/curl/curl/commit/4f6aa41a0145e930e766775dbe860883d350aa0a]
+CVE: CVE-2026-80255
+Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
+---
+ lib/cookie.c | 2 +-
+ tests/data/Makefile.am | 1 +
+ tests/data/test2885 | 52 ++++++++++++++++++++++++++++++++++++++++++
+ 3 files changed, 54 insertions(+), 1 deletion(-)
+ create mode 100644 tests/data/test2885
+
+diff --git a/lib/cookie.c b/lib/cookie.c
+index 4d53cc4..30ec890 100644
+--- a/lib/cookie.c
++++ b/lib/cookie.c
+@@ -453,7 +453,7 @@ parse_cookie_header(struct Curl_easy *data,
+ struct Curl_str val;
+
+ /* we have a <name>=<value> pair or a stand-alone word here */
+- if(!curlx_str_cspn(&ptr, &name, ";\t\r\n=")) {
++ if(!curlx_str_cspn(&ptr, &name, ";\r\n=")) {
+ bool sep = FALSE;
+ curlx_str_trimblanks(&name);
+
+diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
+index f9d20a9..8bf374f 100644
+--- a/tests/data/Makefile.am
++++ b/tests/data/Makefile.am
+@@ -272,6 +272,7 @@ test2600 test2601 test2602 test2603 test2604 test2605 \
+ test2700 test2701 test2702 test2703 test2704 test2705 test2706 test2707 \
+ test2708 test2709 test2710 test2711 test2712 test2713 test2714 test2715 \
+ test2716 test2717 test2718 test2719 test2720 test2721 test2722 test2723 \
++test2885 \
+ \
+ test3000 test3001 test3002 test3003 test3004 test3005 test3006 test3007 \
+ test3008 test3009 test3010 test3011 test3012 test3013 test3014 test3015 \
+diff --git a/tests/data/test2885 b/tests/data/test2885
+new file mode 100644
+index 0000000..456224f
+--- /dev/null
++++ b/tests/data/test2885
+@@ -0,0 +1,52 @@
++<?xml version="1.0" encoding="US-ASCII"?>
++<testcase>
++<info>
++<keywords>
++HTTP
++cookies
++</keywords>
++</info>
++
++<reply>
++<data crlf="headers">
++HTTP/1.1 200 OK
++Content-Length: 0
++Set-Cookie: thisis=SECRET;%TABSecure
++Set-Cookie: also=notab; Secure
++
++</data>
++</reply>
++
++<client>
++<features>
++cookies
++</features>
++<server>
++https
++</server>
++<name>
++Cookies with TAB before 'secure'
++</name>
++<command>
++https://cookie.example:%HTTPSPORT/%TESTNUMBER -c %LOGDIR/cookies.txt --resolve cookie.example:%HTTPSPORT:%HOSTIP --insecure
++</command>
++</client>
++
++<verify>
++<protocol crlf="headers">
++GET /%TESTNUMBER HTTP/1.1
++Host: cookie.example:%HTTPSPORT
++User-Agent: curl/%VERSION
++Accept: */*
++
++</protocol>
++<file name="%LOGDIR/cookies.txt" mode="text">
++# Netscape HTTP Cookie File
++# https://curl.se/docs/http-cookies.html
++# This file was generated by libcurl! Edit at your own risk.
++
++cookie.example%TABFALSE%TAB/%TABTRUE%TAB0%TABalso%TABnotab
++cookie.example%TABFALSE%TAB/%TABTRUE%TAB0%TABthisis%TABSECRET
++</file>
++</verify>
++</testcase>
+--
+2.34.1
+
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index a55cea4e31..a5606c5eb1 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -30,6 +30,7 @@ SRC_URI = " \
file://CVE-2026-13608.patch \
file://CVE-2026-18924.patch \
file://CVE-2026-80229.patch \
+ file://CVE-2026-80255.patch \
"
SRC_URI:append:class-nativesdk = " \
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [OE-core][wrynose][PATCH 5/6] curl: set CVE_STATUS for CVE-2026-82208
2026-09-09 20:33 [OE-core][wrynose][PATCH 1/6] curl: Security Fix for CVE-2026-13608 Siddharth
` (2 preceding siblings ...)
2026-09-09 20:33 ` [OE-core][wrynose][PATCH 4/6] curl: Security Fix for CVE-2026-80255 Siddharth
@ 2026-09-09 20:33 ` Siddharth
2026-09-09 20:33 ` [OE-core][wrynose][PATCH 6/6] curl: set CVE_STATUS for CVE-2026-82209 Siddharth
4 siblings, 0 replies; 6+ messages in thread
From: Siddharth @ 2026-09-09 20:33 UTC (permalink / raw)
To: openembedded-core; +Cc: Siddharth Doshi
From: Siddharth Doshi <sdoshi@mvista.com>
Analysis:
- The problem only exists when curl is built to use the wolfSSL TLS backend.[1]
- The recipe is built with OpenSSL and not wolfSSL.
- Hence, ignoring the CVE for this recipe.
Reference:
[1] https://curl.se/docs/CVE-2026-82208.html
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
---
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index a5606c5eb1..68baac1a15 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -46,6 +46,7 @@ CVE_STATUS[CVE-2026-8924] = "not-applicable-config: public suffix list support i
CVE_STATUS[CVE-2026-10536] = "${@bb.utils.contains('PACKAGECONFIG', 'nghttp2', 'unpatched', 'not-applicable-config: applicable only with HTTP/2', d)}"
CVE_STATUS[CVE-2026-9547] = "not-applicable-config: vulnerable libssh backend is not enabled by the recipe"
CVE_STATUS[CVE-2026-12064] = "${@bb.utils.contains('PACKAGECONFIG', 'libssh2', 'unpatched', 'not-applicable-config: SCP/SFTP support is not enabled in PACKAGECONFIG', d)}"
+CVE_STATUS[CVE-2026-82208] = "not-applicable-config: vulnerable wolfSSL backend is not enabled by the recipe"
inherit autotools pkgconfig binconfig multilib_header ptest
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [OE-core][wrynose][PATCH 6/6] curl: set CVE_STATUS for CVE-2026-82209
2026-09-09 20:33 [OE-core][wrynose][PATCH 1/6] curl: Security Fix for CVE-2026-13608 Siddharth
` (3 preceding siblings ...)
2026-09-09 20:33 ` [OE-core][wrynose][PATCH 5/6] curl: set CVE_STATUS for CVE-2026-82208 Siddharth
@ 2026-09-09 20:33 ` Siddharth
4 siblings, 0 replies; 6+ messages in thread
From: Siddharth @ 2026-09-09 20:33 UTC (permalink / raw)
To: openembedded-core; +Cc: Siddharth Doshi
From: Siddharth Doshi <sdoshi@mvista.com>
Analysis:
- The problem only exists when curl is built with libpsl support enabled.[1]
- The recipe is built with "--without-libpsl" option.
- Hence, ignoring the CVE for this recipe.
Reference:
[1] https://curl.se/docs/CVE-2026-82209.html
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
---
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index 68baac1a15..2ba3708714 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -47,6 +47,7 @@ CVE_STATUS[CVE-2026-10536] = "${@bb.utils.contains('PACKAGECONFIG', 'nghttp2', '
CVE_STATUS[CVE-2026-9547] = "not-applicable-config: vulnerable libssh backend is not enabled by the recipe"
CVE_STATUS[CVE-2026-12064] = "${@bb.utils.contains('PACKAGECONFIG', 'libssh2', 'unpatched', 'not-applicable-config: SCP/SFTP support is not enabled in PACKAGECONFIG', d)}"
CVE_STATUS[CVE-2026-82208] = "not-applicable-config: vulnerable wolfSSL backend is not enabled by the recipe"
+CVE_STATUS[CVE-2026-82209] = "not-applicable-config: public suffix list support is disabled by the recipe with --without-libpsl"
inherit autotools pkgconfig binconfig multilib_header ptest
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread