Vulnerability in Microsoft Windows 11 21h2

CVE-2023-38146

Windows Themes Remote Code Execution Vulnerability

Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)

Published · last modified .

CVSS v3 metric

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

EPSS exploit prediction

EPSS 0.374, 98.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Metasploit modules

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

  • exploits-forsale/themebleed (206 stars, last pushed 2023-09-13): Proof-of-Concept for CVE-2023-38146 ("ThemeBleed")
  • Jnnshschl/CVE-2023-38146 (27 stars, last pushed 2024-05-01): PoC for the ThemeBleed Windows 11 CVE-2023-38146 written in python using impacket. https://jnns.de/posts/cve-2023-38146-poc/
  • Durge5/ThemeBleedPy (2 stars, last pushed 2023-12-12): A proof of concept using python for the CVE-2023-38146 "ThemeBleed"
  • CH0ico/CVE-2023-38146-Poc (last pushed 2026-07-12): Better POC

Also mentioned in 13 other repositories (aneasystone/github-trending, ankitosh/temp, CalegariMindSec/HTB_Writeups, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References