+ freerdp-CVE-2026-22852.patch (CVE-2026-22852, bsc#1256718) + freerdp-CVE-2026-22854.patch (CVE-2026-22854, bsc#1256720) + freerdp-CVE-2026-22856.patch (CVE-2026-22856, bsc#1256722) + freerdp-CVE-2026-22859.patch (CVE-2026-22859, bsc#1256725) + freerdp-CVE-2026-23530.patch (CVE-2026-23530, bsc#1256940) + freerdp-CVE-2026-23531.patch (CVE-2026-23531, bsc#1256941) + freerdp-CVE-2026-23532.patch (CVE-2026-23532, bsc#1256942) + freerdp-CVE-2026-23534.patch (CVE-2026-23534, bsc#1256944) * Fix integer overflow in progressive decoder (bsc#1219049, CVE-2024-22211) OBS-URL: https://build.opensuse.org/package/show/X11:RemoteDesktop/freerdp2?expand=0&rev=21
26 lines
794 B
Diff
26 lines
794 B
Diff
From 1bab198a2edd0d0e6e1627d21a433151ea190500 Mon Sep 17 00:00:00 2001
|
|
From: akallabeth <akallabeth@posteo.net>
|
|
Date: Thu, 15 Jan 2026 12:02:02 +0100
|
|
Subject: [PATCH] [codec,planar] fix decoder length checks
|
|
|
|
---
|
|
libfreerdp/codec/planar.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
Index: freerdp-2.11.7/libfreerdp/codec/planar.c
|
|
===================================================================
|
|
--- freerdp-2.11.7.orig/libfreerdp/codec/planar.c
|
|
+++ freerdp-2.11.7/libfreerdp/codec/planar.c
|
|
@@ -616,6 +616,11 @@ BOOL planar_decompress(BITMAP_PLANAR_CON
|
|
WINPR_ASSERT(planar);
|
|
WINPR_ASSERT(prims);
|
|
|
|
+ if (planar->maxWidth < nSrcWidth)
|
|
+ return FALSE;
|
|
+ if (planar->maxHeight < nSrcHeight)
|
|
+ return FALSE;
|
|
+
|
|
if (nDstStep <= 0)
|
|
nDstStep = nDstWidth * GetBytesPerPixel(DstFormat);
|
|
|