Remote code execution via theme DLL race
Published Sep 12, 2023 · Updated Oct 30, 2025
Remote code execution in Windows Themes in Microsoft Windows 11 allows remote attackers to execute code via a crafted theme file. ReviseVersionIfNecessary verifies an _vrf.dll file, closes it, and later reloads the path, allowing an SMB server to replace the signed file with a malicious DLL. A user must open the crafted theme or theme pack while the system can reach the attacker-controlled share, after which the DLL runs code in the user's context.
Summary
What happened
Remote code execution in Windows Themes in Microsoft Windows 11 allows remote attackers to execute code via a crafted theme file. ReviseVersionIfNecessary verifies an _vrf.dll file, closes it, and later reloads the path, allowing an SMB server to replace the signed file with a malicious DLL. A user must open the crafted theme or theme pack while the system can reach the attacker-controlled share, after which the DLL runs code in the user's context.
The record
- CVE
- CVE-2023-38146
- Published
- Sep 12, 2023
- Updated
- Oct 30, 2025
- Vendor
- Microsoft
- Product
- Windows 11 version 21H2
- Classifications
- CWE-367, T1204.002, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 12, 2023CVE publishedPublication date reported by the CVE source.
- Oct 30, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=10.0.0 <10.0.22000.2416
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- ThemeBleed proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo