{"id":"CVE-2026-64620","aliases":["CVE-2026-64620"],"related":[],"kind":"vulnerability","state":"published","title":"FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common","summary":"FreeRDP before 3.28.0 (affected <=3.27.1) contains a heap-based buffer overflow in crypto_rsa_common() (libfreerdp/crypto/crypto.c). The function writes the modular-exponentiation result into the caller's output buffer via BN_bn2bin() and only afterward checks output_length > out_length, so out-of-bounds bytes are written before the bounds check. On the server side, when a client selects RDP Standard Security, the encrypted client random is decrypted into a fixed 32-byte buffer. Because the server publishes its RSA public key, an unauthenticated attacker can forge a ciphertext whose decrypted value is up to the full modulus length (e.g. 256 bytes for RSA-2048), overflowing the 32-byte heap buffer by up to ~224 attacker-controlled bytes pre-authentication, resulting in denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"FreeRDP before 3.28.0 (affected <=3.27.1) contains a heap-based buffer overflow in crypto_rsa_common() (libfreerdp/crypto/crypto.c). The function writes the modular-exponentiation result into the caller's output buffer via BN_bn2bin() and only afterward checks output_length > out_length, so out-of-bounds bytes are written before the bounds check. On the server side, when a client selects RDP Standard Security, the encrypted client random is decrypted into a fixed 32-byte buffer. Because the server publishes its RSA public key, an unauthenticated attacker can forge a ciphertext whose decrypted value is up to the full modulus length (e.g. 256 bytes for RSA-2048), overflowing the 32-byte heap buffer by up to ~224 attacker-controlled bytes pre-authentication, resulting in denial of service.","source":"cvelist"}],"published":"2026-07-20T12:04:53.105Z","modified":"2026-07-28T15:38:19.810Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.28.0","status":"affected"},{"type":"semver","version":"3.28.0","status":"unaffected"}],"vendor":"FreeRDP","product":"FreeRDP","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.28.0"}],"vendor":"freerdp","product":"freerdp","cpe":"cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pjqx-v446-x7fc","tags":["exploit","mitigation","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/freerdp-before-heap-buffer-overflow-via-crypto-rsa-common","tags":["patch","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["DavidKorczynski"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-07-20T19:27:21.868Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64620","url":"https://www.cve.org/CVERecord?id=CVE-2026-64620","licence":"CVE Terms of Use","modified":"2026-07-21T11:08:25.119Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64620","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64620","licence":"Public domain","modified":"2026-07-28T15:38:19.810Z"}],"updatedAt":"2026-11-25T22:59:29.215Z","epss":{"score":0.00913,"percentile":0.58244,"date":"2026-11-30T12:00:22.000Z"}}