cve.bz

CVE-2018-8786 Out-of-bounds Write

9.8 criticalExploit referenceEPSS 8.2%Fix available

Critical (9.8). EPSS 8.2% estimated probability of exploitation activity in the next 30 days.

On this page
FreeRDP prior to version 2.0.0-rc4 contains an Integer Truncation that leads to a Heap-Based Buffer Overflow in function update_read_bitmap_update() and results in a memory corruption and probably even a remote code execution.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
8.2% (unchanged from 8.2% a week ago; 8.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-681 Incorrect Conversion between Numeric Types
CWE-787 Out-of-bounds Write
CWE-680 Integer Overflow to Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-8786 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-8786?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-8786?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-8786 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
freerdp:freerdpthrough 1.2.0
freerdp:freerdp2.0.0:rc1
freerdp:freerdp2.0.0:rc2
freerdp:freerdp2.0.0:rc3
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
debian:debian_linux8.0
fedoraproject:fedora28
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_eus7.6
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8freerdp1.1.0~git20140921.1.440916e+dfsg1-13~deb8u3DLA-1666-1
Debian12freerdp22.0.0~git20181120.1.e21b72c95+dfsg1-1DEBIAN-CVE-2018-8786
Ubuntu14.04:LTSfreerdp1.0.2-2ubuntu1.2UBUNTU-CVE-2018-8786 USN-3845-1
Ubuntu16.04:LTSfreerdp1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.3UBUNTU-CVE-2018-8786 USN-3845-1
Ubuntu18.04:LTSfreerdp1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1UBUNTU-CVE-2018-8786 USN-3845-2
Ubuntu18.04:LTSfreerdp22.0.0~git20170725.1.1648deb+dfsg1-7ubuntu0.1UBUNTU-CVE-2018-8786 USN-3845-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationfreerdp, freerdp-libs, freerdp-devel and 2 more0:1.0.2-15.el7_6.1RHSA-2019:0697
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4, Linux Enterprise Software Development Kit 12 SP3 and 3 morefreerdp2.0.0~git.1463131968.4e66df7-12.8.1SUSE-SU-2019:0134-1
SUSELinux Enterprise Software Development Kit 12 SP5, Linux Enterprise Workstation Extension 12 SP5freerdp2.1.2-12.20.1SUSE-SU-2020:2272-1
SUSELinux Enterprise Workstation Extension 12 SP5vinagre3.20.2-16.3.3SUSE-SU-2020:2272-1
SUSELinux Enterprise Workstation Extension 15freerdp2.0.0~rc4-3.3.1SUSE-SU-2019:0539-1
openSUSETumbleweedfreerdp22.4.0-2.1openSUSE-SU-2024:10768-1
Alpinev3.9, v3.10, v3.11 and 10 morefreerdp2.0.0_rc4-r0ALPINE-CVE-2018-8786
Alpinev3.22, v3.23, v3.24freerdp, freerdp22.0.0_rc4-r0ALPINE-CVE-2018-8786

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7freerdp-0:1.0.2-15.el7_6.1Fixed 2019-04-02RHSA-2019:0697
Red Hat Enterprise Linux 6freerdpWill not fix
Red Hat Enterprise Linux 8freerdpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-8786.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-680 (11).

References

Check your stackJSON