Skip to content
Fencer Vulns
critical 9.8

CVE-2018-8787 json

FreeRDP prior to version 2.0.0-rc4 contains an Integer Overflow that leads to a Heap-Based Buffer Overflow in function gdi_Bitmap_Decompres…

published 2018-11-29 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-20396

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
8.4%
EPSS 8.4% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

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.

Patch / fix

  • freerdp2 Debian 12 2.0.0~git20181120.1.e21b72c95+dfsg1-1

debian advisories DEBIAN-CVE-2018-8787

  • freerdp Ubuntu 14.04 LTS 1.0.2-2ubuntu1.2
  • freerdp Ubuntu 16.04 LTS 1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.3
  • freerdp Ubuntu 18.04 LTS 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1
  • freerdp2 Ubuntu 18.04 LTS 2.0.0~git20170725.1.1648deb+dfsg1-7ubuntu0.1

ubuntu advisories UBUNTU-CVE-2018-8787

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • freerdp RHEL 7 1.0.2-15.el7_6.1
  • freerdp-libs RHEL 7 1.0.2-15.el7_6.1
  • freerdp-plugins RHEL 7 1.0.2-15.el7_6.1

red hat advisories RHSA-2019:0697

  • freerdp SLE Workstation Extension 12 SP5, SLE Software Development Kit 12 SP5 2.1.2-12.20.1
  • vinagre SLE Workstation Extension 12 SP5 3.20.2-16.3.3
  • freerdp SLE Workstation Extension 15 2.0.0~rc4-3.3.1
  • freerdp SLED 12 SP4, SLED 12 SP3, SLE Workstation Extension 12 SP4 +3 more 2.0.0~git.1463131968.4e66df7-12.8.1

suse advisories SUSE-SU-2020:2272-1SUSE-SU-2019:0539-1SUSE-SU-2019:0134-1

  • freerdp2 openSUSE Tumbleweed 2.4.0-2.1

opensuse advisories openSUSE-SU-2024:10768-1

  • freerdp Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 2.0.0_rc4-r0
  • freerdp2 Alpine 3.24, Alpine 3.23, Alpine 3.22 2.0.0_rc4-r0

alpine advisories ALPINE-CVE-2018-8787

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-8787 updated cvss 8.8

freerdp: Integer overflow leading to heap-based buffer overflow in gdi_Bitmap_Decompress() function

  • Red Hat Enterprise Linux 6 freerdp, freerdp-libs, freerdp-plugins
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) freerdp 1.0.2-15.el7_6.1, freerdp-libs 1.0.2-15.el7_6.1, freerdp-plugins 1.0.2-15.el7_6.1 Red Hat Enterprise Linux Client Optional (v. 7) freerdp-devel 1.0.2-15.el7_6.1, freerdp-debuginfo 1.0.2-15.el7_6.1 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) freerdp 1.0.2-15.el7_6.1, freerdp-libs 1.0.2-15.el7_6.1, freerdp-plugins 1.0.2-15.el7_6.1 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) freerdp-devel 1.0.2-15.el7_6.1, freerdp-debuginfo 1.0.2-15.el7_6.1 Red Hat Enterprise Linux Server (v. 7) freerdp 1.0.2-15.el7_6.1, freerdp-libs 1.0.2-15.el7_6.1, freerdp-plugins 1.0.2-15.el7_6.1 Red Hat Enterprise Linux Server Optional (v. 7) freerdp-devel 1.0.2-15.el7_6.1, freerdp-debuginfo 1.0.2-15.el7_6.1
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) freerdp 1.0.2-15.el7_6.1, freerdp-libs 1.0.2-15.el7_6.1, freerdp-plugins 1.0.2-15.el7_6.1 Red Hat Enterprise Linux Workstation Optional (v. 7) freerdp-devel 1.0.2-15.el7_6.1, freerdp-debuginfo 1.0.2-15.el7_6.1
    fixed: vendor fix RHSA-2019:0697
  • Red Hat Enterprise Linux 8 freerdp, libwinpr, freerdp-libs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

8.36% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • research.checkpoint.com https://research.checkpoint.com/reverse-rdp-attack-code-execution-on-rdp-clients/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • Check Point Software Technologies Ltd. FreeRDP

Classification

Weakness
  • CWE-680 Integer Overflow to Buffer Overflow
  • CWE-190 Integer Overflow or Wraparound
  • CWE-787 Out-of-bounds Write

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.