CVE-2018-8787: canonical ubuntu_linux Integer Overflow to Buffer Overflow
Vulnerability summary
CVE-2018-8787 is a critical (CVSS 9.8) Integer Overflow to Buffer Overflow vulnerability in canonical ubuntu_linux. EPSS estimates a 8.36% chance of exploitation in the next 30 days, higher than 95.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 6Timeline
- 29-11-2018PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 4 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
8.36%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
No change 0.00 pp
From 8.36% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (research.checkpoint.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-680Integer Overflow to Buffer OverflowThe 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.
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat6 products
- enterprise_linux_desktop7.0
- enterprise_linux_eus7.6
- enterprise_linux_server7.0
- enterprise_linux_server_aus7.6
- enterprise_linux_server_tus7.6
Alpine2 products
- freerdp< 2.0.0_rc4-r0
- freerdp2< 2.0.0_rc4-r0
Debian2 products
- freerdp2< 2.0.0~git20181120.1.e21b72c95+dfsg1-1
- debian_linuxEOL8.0
Ubuntu2 products
- freerdp< 1.0.2-2ubuntu1.2 | < 1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.3 | < 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1
- freerdp2< 2.0.0~git20170725.1.1648deb+dfsg1-7ubuntu0.1
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04 | 18.10
Check point software technologies ltd.1 product
- freerdpAll versions prior to 2.0.0-rc4
Freerdp1 product
- freerdp≤ 1.2.0 | 2.0.0:rc1 | 2.0.0:rc2 | 2.0.0:rc3
7 vendors · 15 products
References
13 links- lists.debian.org/debian-lts-announce/2019/02/msg00015.htmlMailing ListX Refsource MLISTThird Party Advisory
- research.checkpoint.com/reverse-rdp-attack-code-execution-on-rdp-clients/X Refsource CONFIRMExploitThird Party Advisory
- github.com/FreeRDP/FreeRDP/commit/09b9d4f1994a674c4ec85b4947aa656eda1aed8aX Refsource CONFIRMPatchVendor AdvisoryREPORT