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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
FreerdpFreerdp*1.2.0 (including)
FreerdpFreerdp2.0.0-rc1 (including)2.0.0-rc1 (including)
FreerdpFreerdp2.0.0-rc2 (including)2.0.0-rc2 (including)
FreerdpFreerdp2.0.0-rc3 (including)2.0.0-rc3 (including)
Red Hat Enterprise Linux 7RedHatfreerdp-0:1.0.2-15.el7_6.1*
FreerdpUbuntubionic*
FreerdpUbuntucosmic*
FreerdpUbuntuesm-apps/bionic*
FreerdpUbuntuesm-infra/xenial*
FreerdpUbuntutrusty*
FreerdpUbuntuxenial*
Freerdp2Ubuntubionic*
Freerdp2Ubuntucosmic*
Freerdp2Ubuntudevel*
Freerdp2Ubuntudisco*
Freerdp2Ubuntuesm-infra/bionic*
Freerdp2Ubuntuupstream*

References