freerdp3: patch CVE-2026-55564

Details:
https://nvd.nist.gov/vuln/detail/cve-2026-55564

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
This commit is contained in:
Ankur Tyagi
2026-09-15 10:13:45 +05:30
committed by Anuj Mittal
parent 3e87904310
commit 631ca42559
2 changed files with 29 additions and 0 deletions
@@ -0,0 +1,28 @@
From 8e1a14795ee8c3aec32c2a9d5b2c6bf00793c92f Mon Sep 17 00:00:00 2001
From: Armin Novak <armin.novak@thincast.com>
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 <ankur.tyagi85@gmail.com>
---
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;
@@ -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 \
"