{"id":"CVE-2026-64620","published":"2026-07-20T12:04:53Z","modified":"2026-07-21T11:08:25Z","title":"FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common","vendor":"FreeRDP","product":"FreeRDP","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00913,"percentile":0.60913,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pjqx-v446-x7fc","tags":["vendor-advisory"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/freerdp-before-heap-buffer-overflow-via-crypto-rsa-common","tags":["third-party-advisory"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":12.18},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"freerdp","affectedVersions":[{"vendor":"FreeRDP","product":"FreeRDP","versions":["< 3.28.0"]}],"fixedVersions":[{"vendor":"FreeRDP","product":"FreeRDP","versions":["3.28.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-20T19:27:21.868045Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45935","exploited":false,"provenance":"source"}}