CVE-2018-8787: canonical ubuntu_linux Integer Overflow to Buffer Overflow
CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2018-8787DEBIAN-CVE-2018-8787
Published 29-11-2018Last modified 16-09-2024
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 94.9% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
8.36%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
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
5 scores · 3 sources · 3 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- 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
Critical 9.8Preferred score · OSV · Ubuntu (Ecosystem advisory) · calculated from vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesSingle source
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
8.36%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
0.00 pp
From 8.36% on 19-09-2026
19-09-202619-10-2026
EPSS score8.36%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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
Redhat6 products
- enterprise_linux_desktop7.0
- enterprise_linux_eus7.6
- enterprise_linux_server7.0
- enterprise_linux_server_aus7.6
- enterprise_linux_server_tus7.6
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
6 vendors · 13 products
References
12 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