diff --git a/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-55564.patch b/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-55564.patch new file mode 100644 index 0000000000..de3674b2c4 --- /dev/null +++ b/meta-oe/recipes-support/freerdp/freerdp3/CVE-2026-55564.patch @@ -0,0 +1,28 @@ +From 8e1a14795ee8c3aec32c2a9d5b2c6bf00793c92f Mon Sep 17 00:00:00 2001 +From: Armin Novak +Date: Sat, 13 Jun 2026 21:52:18 +0200 +Subject: [PATCH] [cache,glyph] tighten bounds checks + +(cherry picked from commit c29324750e3cbcba8761f147b7a5235cc686930f) + +CVE: CVE-2026-55564 +Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/c29324750e3cbcba8761f147b7a5235cc686930f] + +Signed-off-by: Ankur Tyagi +--- + libfreerdp/cache/glyph.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libfreerdp/cache/glyph.c b/libfreerdp/cache/glyph.c +index 374c6151f..8a0d7f64c 100644 +--- a/libfreerdp/cache/glyph.c ++++ b/libfreerdp/cache/glyph.c +@@ -565,7 +565,7 @@ rdpGlyph* glyph_cache_get(rdpGlyphCache* glyphCache, UINT32 id, UINT32 index) + } + + GLYPH_CACHE* cache = &glyphCache->glyphCache[id]; +- if (index > cache->number) ++ if (index >= cache->number) + { + WLog_ERR(TAG, "index %" PRIu32 " out of range for cache id: %" PRIu32 "", index, id); + return nullptr; 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 eefc9ab5d3..3e891f40d6 100644 --- a/meta-oe/recipes-support/freerdp/freerdp3_3.24.2.bb +++ b/meta-oe/recipes-support/freerdp/freerdp3_3.24.2.bb @@ -17,6 +17,7 @@ SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;nobranch=1;protocol=https;tag=${ file://CVE-2026-55192.patch \ file://CVE-2026-55193.patch \ file://CVE-2026-55194.patch \ + file://CVE-2026-55564.patch \ "