☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Tencent logo [ WEBSITE ] [ VENDOR STATS ]
SOON CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-362
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-63946

CVE-2025-63946 Race Condition in Tencent
📅 PUBLISHED: 2026-02-23 00:00 UTC 🔄 UPDATED: 2026-08-12 09:03 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.04%
👁️
0.04% probability
<1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1068
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: China License: Commercial
VULNERABLE: <= 17.10.28554.205
CVSS VECTOR BREAKDOWN 0.0
AV: L Attack Vector Local
AC: H Attack Complexity High
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-63946 is a privilege escalation vulnerability in Tencent PC Manager (TPM) for Windows, affecting versions up to and including 17.10.28554.205. The flaw allows a local, authenticated user to execute arbitrary programs with elevated (SYSTEM) privileges by exploiting a race condition in the application's process handling. The vulnerability requires the attacker to have local access to the target system and to win a race window during a specific operation performed by TPM. No public proof-of-concept (PoC) code or exploit is currently available, and the vendor has not released a patch. The EPSS score is 0.0%, indicating very low exploitation activity in the wild as of the report date.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

The CVSS score is listed as 0.0, which is likely a placeholder or uncalculated value. Based on the vulnerability characteristics, a reasonable CVSS v3.1 vector would be:

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

  • Attack Vector (AV): Local (L) – The attacker must have local access to the system.
  • Attack Complexity (AC): High (H) – Exploitation requires winning a race condition, which is inherently difficult and timing-dependent.
  • Privileges Required (PR): Low (L) – The attacker needs a standard user account.
  • User Interaction (UI): None (N) – No user action is required beyond the attacker's own actions.
  • Scope (S): Unchanged (U) – The vulnerability does not affect resources beyond the vulnerable component.
  • Confidentiality (C): High (H) – Successful exploitation allows execution with SYSTEM privileges, granting full access to all data.
  • Integrity (I): High (H) – The attacker can modify system files, install software, or alter configurations.
  • Availability (A): High (H) – The attacker could disrupt system operations or cause denial of service.

Threat Level: High (7.0-8.9) – The impact is severe, but the attack complexity is high, reducing the immediate risk.

Deep Dive & Mechanics

Tencent PC Manager is a system optimization and security utility for Windows. The vulnerability resides in how the application handles process creation or file operations with elevated privileges. Specifically, TPM performs certain actions (e.g., cleaning temporary files, updating components, or managing startup items) with SYSTEM privileges. A race condition occurs when the application checks a file path or process state and then acts upon it, but a local attacker can modify that path or state between the check and the action (TOCTOU – Time of Check, Time of Use).

Attack Scenario:

  1. The attacker, logged in as a standard user, identifies a TPM operation that creates or accesses a file in a directory writable by the user (e.g., %TEMP% or %LOCALAPPDATA%).
  2. TPM checks for the existence of a file (e.g., cleanup.exe) and then executes it with SYSTEM privileges.
  3. The attacker, using a file system watcher or a tight loop, replaces the legitimate file with a malicious executable (e.g., malware.exe) just before TPM executes it.
  4. If the race is won, TPM executes the attacker's payload with SYSTEM privileges, resulting in privilege escalation.

The vulnerability is classified under CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization). The race window is likely very small, requiring precise timing or repeated attempts.

Vulnerable vs. Patched Code

No patch is available, and the vendor has not released a fix. The vulnerable code is proprietary, but the race condition likely exists in a function similar to the following pseudo-code:

Vulnerable (C++ pseudo-code):

void TPM::ExecuteCleanupTask() {
    // Check if the cleanup executable exists
    if (FileExists(L"C:\\ProgramData\\Tencent\\TPM\\cleanup.exe")) {
        // Race window: attacker can replace the file here
        CreateProcessAsSystem(L"C:\\ProgramData\\Tencent\\TPM\\cleanup.exe");
    }
}

Patched (hypothetical):

void TPM::ExecuteCleanupTask() {
    // Use a secure, atomic operation to open the file
    HANDLE hFile = CreateFile(L"C:\\ProgramData\\Tencent\\TPM\\cleanup.exe",
                              GENERIC_READ, FILE_SHARE_READ, NULL,
                              OPEN_EXISTING, FILE_FLAG_SEQUENTIAL_SCAN, NULL);
    if (hFile != INVALID_HANDLE_VALUE) {
        // Execute using the file handle, not the path
        CreateProcessAsSystemFromHandle(hFile);
        CloseHandle(hFile);
    }
}

The patched version would eliminate the race by using a file handle instead of a path, preventing TOCTOU attacks.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Windows 10/11 with Tencent PC Manager <= 17.10.28554.205 installed.
  • A local standard user account.
  • Knowledge of a specific TPM operation that triggers the race (e.g., "Clean Junk Files" or "Update").

Lab Setup:

  1. Install the vulnerable version of Tencent PC Manager on a Windows VM.
  2. Create a standard user account.
  3. Prepare a malicious executable (e.g., adduser.exe) that creates a new local admin user.

Exploitation Steps:

  1. Log in as the standard user.
  2. Identify the race condition target (e.g., C:\ProgramData\Tencent\TPM\temp\cleanup.exe).
  3. Write a script (PowerShell or C) that continuously monitors the target directory and replaces the file with the malicious payload when it appears.
  4. Trigger the TPM operation (e.g., run "Clean Junk Files").
  5. If the race is won, the malicious executable runs with SYSTEM privileges, creating a new admin user.

Example PowerShell script (conceptual):

while ($true) {
    if (Test-Path "C:\ProgramData\Tencent\TPM\temp\cleanup.exe") {
        Copy-Item "C:\tools\adduser.exe" "C:\ProgramData\Tencent\TPM\temp\cleanup.exe" -Force
        break
    }
    Start-Sleep -Milliseconds 1
}

Blue Team (Detection & Defense)

Detection:

  • Monitor for rapid file creation/deletion in C:\ProgramData\Tencent\TPM\ and subdirectories.
  • Alert on processes spawned by TPM that are not signed by Tencent or have unexpected names.
  • Use Sysmon Event ID 11 (FileCreate) and Event ID 1 (ProcessCreate) to detect anomalies.

Defense:

  • Restrict write permissions to TPM directories to only SYSTEM and Administrators.
  • Enable Windows Defender Attack Surface Reduction (ASR) rules to block untrusted processes from running.
  • Apply the principle of least privilege to user accounts.
  • Monitor for race condition exploitation attempts using ETW (Event Tracing for Windows) for file I/O.

Indicators of Compromise (IOCs)

File IOCs:

  • C:\ProgramData\Tencent\TPM\temp\*.exe (unexpected executables in this directory)
  • C:\Users\<username>\AppData\Local\Tencent\TPM\*.exe (user-writable TPM directories)

Process IOCs:

  • TPM*.exe spawning child processes with SYSTEM privileges that are not signed by Tencent.
  • cmd.exe or powershell.exe spawned by TPM*.exe with high integrity level.

Network IOCs:

  • Outbound connections from TPM processes to unknown IPs (if the payload downloads additional tools).

Registry IOCs:

  • New user accounts created under HKLM\SAM\SAM\Domains\Account\Users\Names\.

Detection Engineering

YARA Rule

rule CVE_2025_63946_TPM_Race {
    meta:
        description = "Detects potential race condition exploitation in Tencent PC Manager"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-63946"
    strings:
        $s1 = "Tencent\\TPM" nocase
        $s2 = "cleanup.exe" nocase
        $s3 = "TPM" nocase
    condition:
        (uint16(0) == 0x5A4D) and // MZ header
        all of ($s*) and
        filesize < 10MB
}

Sigma Rule

title: CVE-2025-63946 - Tencent PC Manager Race Condition Exploitation
id: 8f4b3c2a-1d5e-4f7a-9b0c-3e2d1a5f7b8c
status: experimental
description: Detects suspicious file operations in Tencent PC Manager directories that may indicate a race condition attack.
author: Valters IT
date: 2025-04-10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-63946
logsource:
    product: windows
    service: sysmon
detection:
    selection:
        EventID: 11
        TargetFilename|contains: 'Tencent\TPM'
        TargetFilename|endswith: '.exe'
    condition: selection
falsepositives:
    - Legitimate TPM updates or operations
level: high

Suricata Rule

alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:"CVE-2025-63946 - Tencent PC Manager Potential C2 Beacon"; flow:to_server,established; content:"Tencent"; http_user_agent; content:"TPM"; http_user_agent; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable or uninstall Tencent PC Manager until a patch is released.
  2. Restrict local user accounts to standard privileges; do not grant administrative rights unnecessarily.
  3. Enable Windows Defender ASR rules to block untrusted processes from running.
  4. Monitor TPM directories for unauthorized file modifications.

Long-Term Fix:

  • Apply the vendor's patch when released.
  • Implement secure coding practices to avoid TOCTOU race conditions (e.g., use file handles instead of paths, use atomic operations).

Workaround:

  • Use Group Policy to deny write access to C:\ProgramData\Tencent\TPM\ for non-admin users.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

Tencent PC Manager
Tencent PC Manager privilege escalation

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-63946/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.