Use After Free in Microsoft Windows Server 2012

CVE-2025-27480

Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.126, 96.3th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

2 public repositories with exploit or proof-of-concept code for this CVE:

  • mrk336/CVE-2025-27480 (1 star, last pushed 2025-09-03): CVE-2025-27480 exposes a buffer overflow in OpenSSH 8.9p1 via a malformed SSH_USERAUTH packet. Attackers can inject shellcode and gain SYSTEM-level access, compromising bastion hosts and downstream C…
  • mrk336/CVE-2025-27480-The-Silent-Gateway-Risk (1 star, last pushed 2025-09-01): Letting attackers run malicious code without needing a cracked password, user interaction, or even a foothold in your network. That’s CVE-2025-27480

Also mentioned in 2 other repositories (nomi-sec/PoC-in-GitHub, PuddinCat/GithubRepoSpider). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References