cve.bz

CVE-2018-8785 Out-of-bounds Write

9.8 criticalExploit referenceEPSS 7.3%Fix available

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

On this page
FreeRDP prior to version 2.0.0-rc4 contains a Heap-Based Buffer Overflow in function zgfx_decompress() that 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
7.3% (unchanged from 7.3% a week ago; 7.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-120 Buffer Copy without Checking Size of Input (Classic 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-8785 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-8785?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-8785?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-8785 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_linux18.04
canonical:ubuntu_linux18.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12freerdp22.0.0~git20181120.1.e21b72c95+dfsg1-1DEBIAN-CVE-2018-8785
Ubuntu14.04:LTSfreerdp1.0.2-2ubuntu1.2USN-3845-1
Ubuntu16.04:LTSfreerdp1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.3USN-3845-1
Ubuntu18.04:LTSfreerdp22.0.0~git20170725.1.1648deb+dfsg1-7ubuntu0.1UBUNTU-CVE-2018-8785 USN-3845-1
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

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue did not affect the versions of freerdp as shipped with Red Hat Enterprise Linux 6 and 7 as they did not include support for ZGFX data compression.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6freerdpNot affected
Red Hat Enterprise Linux 7freerdpNot affected
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-8785.

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-120 (13).

References

Check your stackJSON