CVE Vulnerabilities

CVE-2018-8787

Integer Overflow to Buffer Overflow

Published: Nov 29, 2018 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
8.8 IMPORTANT
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

FreeRDP prior to version 2.0.0-rc4 contains an Integer Overflow that leads to a Heap-Based Buffer Overflow in function gdi_Bitmap_Decompress() and results in a memory corruption and probably even a remote code execution.

Weakness

The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.

Affected Software

Name Vendor Start Version End Version
Freerdp Freerdp * 1.2.0 (including)
Freerdp Freerdp 2.0.0-rc1 (including) 2.0.0-rc1 (including)
Freerdp Freerdp 2.0.0-rc2 (including) 2.0.0-rc2 (including)
Freerdp Freerdp 2.0.0-rc3 (including) 2.0.0-rc3 (including)
Red Hat Enterprise Linux 7 RedHat freerdp-0:1.0.2-15.el7_6.1 *
Freerdp Ubuntu bionic *
Freerdp Ubuntu cosmic *
Freerdp Ubuntu trusty *
Freerdp Ubuntu xenial *
Freerdp2 Ubuntu bionic *
Freerdp2 Ubuntu cosmic *
Freerdp2 Ubuntu devel *
Freerdp2 Ubuntu disco *
Freerdp2 Ubuntu upstream *

References