CVE Vulnerabilities

CVE-2018-8795

Integer Overflow to Buffer Overflow

Published: Feb 05, 2019 | 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
7.5 MODERATE
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

rdesktop versions up to and including v1.8.3 contain an Integer Overflow that leads to a Heap-Based Buffer Overflow in function process_bitmap_updates() 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
Rdesktop Rdesktop * 1.8.3 (including)
Rdesktop Ubuntu bionic *
Rdesktop Ubuntu cosmic *
Rdesktop Ubuntu esm-apps/bionic *
Rdesktop Ubuntu esm-apps/xenial *
Rdesktop Ubuntu trusty *
Rdesktop Ubuntu upstream *
Rdesktop Ubuntu xenial *

References