SecurityContext

CVE-2026-64621: FreeRDP - Use After Free

  • Cve: CVE-2026-64621
  • Name: FreeRDP - Use After Free
  • Description: FreeRDP before 3.28.0 (affected 3.x through 3.27.1) contains a double-free vulnerability in freerdp_client_rdp_file_apply_to_settings() (client/common/file.c) when parsing the selectedmonitors field of a .rdp connection file. The MonitorIds array is allocated through the settings object, and a raw non-owning pointer to it is freed on the strtoul error path without clearing settings->MonitorIds, leaving it dangling; at teardown freerdp_settings_free() frees the same buffer again. An attacker who convinces a victim to open a crafted .rdp file with oversized monitor tokens can trigger a size-controlled double-free in any FreeRDP CLI client (xfreerdp/sdl-freerdp/wlfreerdp) in the default configuration.
  • Impact: Attackers can cause memory corruption leading to potential denial of service or code execution via crafted .rdp files.
  • Remediation: Update to version 3.28.0 or later.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Victim must open a crafted .rdp file
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.3
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
  • Epss score: 0.00363
  • Epss percentile: 0.30504
  • Assignee: [email protected]
  • Published at: 2026-07-20T12:19:46Z
  • Age in days: 127
  • Modified at: 2026-07-28T15:34:52Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-64621
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-415Double Free

Public exploits

UrlSourceAdded date
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hcnvd2026-07-20

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609efPatch
https://www.vulncheck.com/advisories/freerdp-before-double-free-via-selectedmonitorsPatch, Third Party Advisory
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hcExploit, Mitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
freerdp:freerdp>= 3.0.0, < 3.28.0nonvd/v1/products/freerdp/freerdp

Projects

RepositoryLink kindsIndexedUrl
FreeRDP/FreeRDPcommit, security_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: 2026-07-20
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts