summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-33952.patch38
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb1
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-33952.patch b/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-33952.patch
new file mode 100644
index 0000000000..925843f6b5
--- /dev/null
+++ b/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-33952.patch
@@ -0,0 +1,38 @@
1From 30e05bdaf4096decf4ce0b1c448cd03c6786323b Mon Sep 17 00:00:00 2001
2From: Armin Novak <armin.novak@thincast.com>
3Date: Wed, 25 Mar 2026 09:04:43 +0100
4Subject: [PATCH] [core,gateway] Check rpcconn_common_hdr_t::auth_length is
5 valid
6
7Do sanity checks for rpcconn_common_hdr_t::auth_length read from
8network, abort if the value is out of range.
9
10(cherry picked from commit 4ac0b6467d371a1ad47c1f751c5b305e4c068adb)
11
12CVE: CVE-2026-33952
13Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/4ac0b6467d371a1ad47c1f751c5b305e4c068adb]
14Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
15---
16 libfreerdp/core/gateway/rts.c | 9 +++++++++
17 1 file changed, 9 insertions(+)
18
19diff --git a/libfreerdp/core/gateway/rts.c b/libfreerdp/core/gateway/rts.c
20index 2ba757815..9702582da 100644
21--- a/libfreerdp/core/gateway/rts.c
22+++ b/libfreerdp/core/gateway/rts.c
23@@ -253,6 +253,15 @@ BOOL rts_read_common_pdu_header(wStream* s, rpcconn_common_hdr_t* header, BOOL i
24 header->frag_length, sizeof(rpcconn_common_hdr_t));
25 return FALSE;
26 }
27+ if (header->auth_length > header->frag_length - 8ull)
28+ {
29+ if (!ignoreErrors)
30+ WLog_WARN(TAG,
31+ "Invalid header->auth_length(%" PRIu16 ") > header->frag_length(%" PRIu16
32+ ") - 8ull",
33+ header->frag_length, header->auth_length);
34+ return FALSE;
35+ }
36
37 if (!ignoreErrors)
38 {
diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
index f9e6f64e2f..18795551ec 100644
--- a/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
+++ b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
@@ -21,6 +21,7 @@ SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https \
21 file://CVE-2024-32662.patch \ 21 file://CVE-2024-32662.patch \
22 file://CVE-2025-4478.patch \ 22 file://CVE-2025-4478.patch \
23 file://CVE-2026-25941.patch \ 23 file://CVE-2026-25941.patch \
24 file://CVE-2026-33952.patch \
24 " 25 "
25 26
26S = "${WORKDIR}/git" 27S = "${WORKDIR}/git"