{
  "id": "CVE-2026-64620",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64620",
  "published_at": "2026-07-20T12:04:53.105Z",
  "title": "FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common",
  "vendor": "FreeRDP",
  "product": "FreeRDP",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "FreeRDP before 3.28.0 (affected \u003c=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 \u003e 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.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FreeRDP",
        "product": "FreeRDP",
        "ranges": [
          "\u003c 3.28.0"
        ],
        "fixed_in": [
          "3.28.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade FreeRDP to 3.28.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pjqx-v446-x7fc"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
