From 8cc0cd3debe6f1b7fcba5d82cbddba00c242c52a Mon Sep 17 00:00:00 2001 From: Ankur Tyagi Date: Thu, 9 Apr 2026 19:09:04 +1200 Subject: [PATCH] freerdp3: fix CVE-2026-24676 Details: https://nvd.nist.gov/vuln/detail/CVE-2026-24676 Signed-off-by: Ankur Tyagi Signed-off-by: Anuj Mittal --- .../freerdp/freerdp3/CVE-2026-24676.patch | 34 +++++++++++++++++++ .../recipes-support/freerdp/freerdp3_3.4.0.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-24676.patch diff --git a/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-24676.patch b/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-24676.patch new file mode 100644 index 0000000000..30ca1c8a6c --- /dev/null +++ b/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-24676.patch @@ -0,0 +1,34 @@ +From 0a2248a4adbee77122270062bebe00143d3ee96a Mon Sep 17 00:00:00 2001 +From: akallabeth +Date: Mon, 26 Jan 2026 10:20:23 +0100 +Subject: [PATCH] [channels,audin] reset audin->format + +Whenever the underlying structure changes reset the pointer to NULL + +CVE: CVE-2026-24676 +Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/026b81ae5831ac1598d8f7371e0d0996fac7db00] +Signed-off-by: Ankur Tyagi +--- + channels/audin/client/audin_main.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/channels/audin/client/audin_main.c b/channels/audin/client/audin_main.c +index 1578d26ac..2c91d9f60 100644 +--- a/channels/audin/client/audin_main.c ++++ b/channels/audin/client/audin_main.c +@@ -206,6 +206,7 @@ static UINT audin_process_formats(AUDIN_PLUGIN* audin, AUDIN_CHANNEL_CALLBACK* c + } + + Stream_Seek_UINT32(s); /* cbSizeFormatsPacket */ ++ audin->format = NULL; + callback->formats = audio_formats_new(NumFormats); + + if (!callback->formats) +@@ -280,6 +281,7 @@ out: + + if (error != CHANNEL_RC_OK) + { ++ audin->format = NULL; + audio_formats_free(callback->formats, NumFormats); + callback->formats = NULL; + } 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 c83d82b357..5f0a2536ae 100644 --- a/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb +++ b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb @@ -25,6 +25,7 @@ SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https \ file://CVE-2026-23948.patch \ file://CVE-2026-24491.patch \ file://CVE-2026-24675.patch \ + file://CVE-2026-24676.patch \ " S = "${WORKDIR}/git"