SecurityContext

CVE-2023-40574: FreeRDP - Out-Of-Bounds Read/Write

  • Cve: CVE-2023-40574
  • Name: FreeRDP - Out-Of-Bounds Read/Write
  • Description: FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an Out-Of-Bounds Write in the `writePixelBGRX` function. This issue is likely down to incorrect calculations of the `nHeight` and `srcStep` variables. This issue has been addressed in version 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.
  • Impact: Memory corruption may lead to application crashes or arbitrary code execution.
  • Remediation: Upgrade to version 3.0.0-beta3 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: user_interaction
  • Requirements: Remote connection or user interaction required
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01206
  • Epss percentile: 0.691
  • Assignee: [email protected]
  • Published at: 2023-08-31T22:15:08Z
  • Age in days: 1181
  • Modified at: 2026-06-17T06:18:31Z
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-40574
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-422p-gj6x-93cwnvd2023-08-31

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-422p-gj6x-93cwExploit, Vendor Advisory
https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/primitives/prim_YUV.c#L414-L445Issue Tracking
https://security.gentoo.org/glsa/202401-16

Products

ProductAffectedPlatform boundSourcesUrl
freerdp:freerdp= 3.0.0 beta1, = 3.0.0 beta2nonvd/v1/products/freerdp/freerdp

Projects

RepositoryLink kindsIndexedUrl
FreeRDP/FreeRDPsecurity_advisoryyes/v1/repositories/FreeRDP/FreeRDP

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-08-31
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts