From: ankur.tyagi85@gmail.com
To: openembedded-devel@lists.openembedded.org
Cc: Ankur Tyagi <ankur.tyagi85@gmail.com>
Subject: [oe][meta-oe][wrynose][PATCH 10/15] freerdp3: patch CVE-2026-64620
Date: Wed, 9 Sep 2026 20:31:35 +1200 [thread overview]
Message-ID: <20260909083140.2494932-10-ankur.tyagi85@gmail.com> (raw)
In-Reply-To: <20260909083140.2494932-1-ankur.tyagi85@gmail.com>
From: Ankur Tyagi <ankur.tyagi85@gmail.com>
Backport commit matching GitHub advisory[1]
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-64620
[1]https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pjqx-v446-x7fc
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
.../freerdp/freerdp3/CVE-2026-64620.patch | 37 +++++++++++++++++++
.../freerdp/freerdp3_3.24.2.bb | 1 +
2 files changed, 38 insertions(+)
create mode 100644 meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-64620.patch
diff --git a/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-64620.patch b/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-64620.patch
new file mode 100644
index 0000000000..e154a92499
--- /dev/null
+++ b/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-64620.patch
@@ -0,0 +1,37 @@
+From c04d10f9586ce92d7a7a3307744e16d554e20cfd Mon Sep 17 00:00:00 2001
+From: Armin Novak <armin.novak@thincast.com>
+Date: Thu, 2 Jul 2026 08:02:26 +0200
+Subject: [PATCH] [crypto] fix out buffer check
+
+(cherry picked from commit 27014741a8c22a34d3040c559c82f4ed82841bef)
+
+CVE: CVE-2026-64620
+Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/27014741a8c22a34d3040c559c82f4ed82841bef]
+
+Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
+---
+ libfreerdp/crypto/crypto.c | 9 ++++++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/libfreerdp/crypto/crypto.c b/libfreerdp/crypto/crypto.c
+index 3d210f2d9..60f7c6cee 100644
+--- a/libfreerdp/crypto/crypto.c
++++ b/libfreerdp/crypto/crypto.c
+@@ -103,11 +103,14 @@ static SSIZE_T crypto_rsa_common(const BYTE* input, size_t length, UINT32 key_le
+ goto fail;
+ if (BN_mod_exp(y, x, exp, mod, ctx) != 1)
+ goto fail;
+- output_length = BN_bn2bin(y, output);
++ {
++ const int len = BN_num_bytes(y);
++ if ((len < 0) || (WINPR_ASSERTING_INT_CAST(size_t, len) > out_length))
++ goto fail;
++ output_length = BN_bn2bin(y, output);
++ }
+ if (output_length < 0)
+ goto fail;
+- if (WINPR_ASSERTING_INT_CAST(size_t, output_length) > out_length)
+- goto fail;
+ crypto_reverse(output, WINPR_ASSERTING_INT_CAST(size_t, output_length));
+
+ if ((size_t)output_length < key_length)
diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.24.2.bb b/meta-oe/recipes-support/freerdp/freerdp3_3.24.2.bb
index 86999ffe94..a577916bef 100644
--- a/meta-oe/recipes-support/freerdp/freerdp3_3.24.2.bb
+++ b/meta-oe/recipes-support/freerdp/freerdp3_3.24.2.bb
@@ -21,6 +21,7 @@ SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;nobranch=1;protocol=https;tag=${
file://CVE-2026-55648.patch \
file://CVE-2026-63633.patch \
file://CVE-2026-63652.patch \
+ file://CVE-2026-64620.patch \
"
next prev parent reply other threads:[~2026-09-09 8:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-09 8:31 [oe][meta-oe][wrynose][PATCH 1/15] freerdp3: patch CVE-2026-40254 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 2/15] freerdp3: patch CVE-2026-55191 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 3/15] freerdp3: patch CVE-2026-55192 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 4/15] freerdp3: patch CVE-2026-55193 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 5/15] freerdp3: patch CVE-2026-55194 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 6/15] freerdp3: patch CVE-2026-55564 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 7/15] freerdp3: patch CVE-2026-55648 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 8/15] freerdp3: patch CVE-2026-63633 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 9/15] freerdp3: patch CVE-2026-63652 ankur.tyagi85
2026-09-09 8:31 ` ankur.tyagi85 [this message]
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 11/15] freerdp3: patch CVE-2026-64621 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 12/15] freerdp3: patch CVE-2026-66401 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-oe][wrynose][PATCH 13/15] freerdp3: patch CVE-2026-67288 ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-python][wrynose][PATCH 14/15] python3-gunicorn: mark CVE-2024-1135 patched ankur.tyagi85
2026-09-09 8:31 ` [oe][meta-python][wrynose][PATCH 15/15] python3-h11: mark CVE-2025-43859 patched ankur.tyagi85
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260909083140.2494932-10-ankur.tyagi85@gmail.com \
--to=ankur.tyagi85@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.