cve.bz

CVE-2023-40181 Out-of-bounds Read

9.1 criticalExploit referenceEPSS 1.7%

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

On this page
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an Integer-Underflow leading to Out-Of-Bound Read in the `zgfx_decompress_segment` function. In the context of `CopyMemory`, it's possible to read data beyond the transmitted packet range and likely cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-125 Out-of-bounds Read
CWE-191 Integer Underflow (Wrap or Wraparound)
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-2023-40181 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-40181?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-40181?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-2023-40181 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:freerdpbefore 2.11.0
freerdp:freerdp3.0.0:beta1
freerdp:freerdp3.0.0:beta2
debian:debian_linux10.0
fedoraproject:fedora37
fedoraproject:fedora38
fedoraproject:fedora39

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10freerdp22.3.0+dfsg1-2+deb10u3DLA-3606-1
Debian11freerdp22.3.0+dfsg1-2+deb11u2DLA-4053-1
Debian12freerdp22.11.7+dfsg1-6~deb12u1DEBIAN-CVE-2023-40181
Ubuntu20.04:LTSfreerdp22.2.0+dfsg1-0ubuntu0.20.04.5UBUNTU-CVE-2023-40181 USN-6401-1
Ubuntu22.04:LTSfreerdp22.6.1+dfsg1-3ubuntu2.4UBUNTU-CVE-2023-40181 USN-6401-1
UbuntuPro:18.04:LTSfreerdp22.2.0+dfsg1-0ubuntu0.18.04.4+esm1UBUNTU-CVE-2023-40181 USN-6401-1
Red Hatenterprise_linux:9::appstreamfreerdp, libwinpr, freerdp-libs and 4 more2:2.11.2-1.el9RHSA-2024:2208
Red Hatenterprise_linux:9::crbfreerdp-devel, libwinpr-devel, freerdp-debuginfo and 3 more2:2.11.2-1.el9RHSA-2024:2208
SUSELinux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Workstation Extension 15 SP4 and 1 morefreerdp2.4.0-150400.3.23.1SUSE-SU-2023:4893-1
SUSELinux Enterprise Software Development Kit 12 SP5, Linux Enterprise Workstation Extension 12 SP5freerdp2.1.2-12.38.1SUSE-SU-2023:4611-1
openSUSELeap 15.4, Leap 15.5freerdp2.4.0-150400.3.23.1SUSE-SU-2023:4893-1
openSUSETumbleweedfreerdp22.11.2-3.1openSUSE-SU-2024:13504-1
AlmaLinux9freerdp, libwinpr, freerdp-libs and 2 more2:2.11.2-1.el9ALSA-2024:2208

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; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9freerdp-2:2.11.2-1.el9Fixed 2024-04-30RHSA-2024:2208
Red Hat Enterprise Linux 6freerdpOut of support scope
Red Hat Enterprise Linux 7freerdpOut of support scope
Red Hat Enterprise Linux 8freerdpFix deferred

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-2023-40181.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON