{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38146 exists.","fix":"No fix has been published for CVE-2023-38146 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-38146 is a high-severity vulnerability in Microsoft Windows 11 21h2, published on 12 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-38146 and fix it if it is affected.\n\nWhat it is: CVE-2023-38146 is a high-severity vulnerability in Microsoft Windows 11 21h2, published on 12 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38146 exists.\n\nAffected product: Microsoft Windows 11 21h2. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-38146/ (Markdown: https://insights.sbomify.com/CVE-2023-38146/index.md)","id":"CVE-2023-38146","markdown":"https://insights.sbomify.com/CVE-2023-38146/index.md","name":"CVE-2023-38146","record":{"aliases":["GHSA-qmqc-m76c-pmrm"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Windows Themes","requires_auth":"none","summary":"An attacker can exploit a race condition in Windows Themes to execute arbitrary code on affected Windows 11 systems.","user_interaction":"required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"windows_11_21h2","vendor":"microsoft"},{"product":"windows_11_22h2","vendor":"microsoft"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"Windows Themes Remote Code Execution Vulnerability","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-09-13","github_poc":4,"max_poc_stars":206,"metasploit":1,"nuclei":0,"refs":[{"date":"2023-09-13T04:00:14Z","kind":"github_poc","ref":"https://github.com/exploits-forsale/themebleed","stars":206,"title":"Proof-of-Concept for CVE-2023-38146 (\"ThemeBleed\")"},{"date":"2023-10-13T15:33:42Z","kind":"github_poc","ref":"https://github.com/Jnnshschl/CVE-2023-38146","stars":27,"title":"PoC for the ThemeBleed Windows 11 CVE-2023-38146 written in python using impacket. https://jnns.de/posts/cve-2023-38146-poc/"},{"date":"2023-12-12T19:11:10Z","kind":"github_poc","ref":"https://github.com/Durge5/ThemeBleedPy","stars":2,"title":"A proof of concept using python for the CVE-2023-38146 \"ThemeBleed\""},{"date":"2023-09-13","kind":"metasploit","ref":"exploit/windows/fileformat/theme_dll_hijack_cve_2023_38146","stars":null,"title":"Themebleed- Windows 11 Themes Arbitrary Code Execution CVE-2023-38146"},{"date":"2026-07-12T12:14:46Z","kind":"github_poc","ref":"https://github.com/CH0ico/CVE-2023-38146-Poc","stars":0,"title":"Better POC"}],"tier":"weaponised"},"has_fix":null,"headline":"Windows Themes Remote Code Execution Vulnerability","id":"CVE-2023-38146","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_11_21h2","products":["microsoft:windows_11_21h2","microsoft:windows_11_22h2"],"type":"race_condition","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Windows Miracast Wireless Display Remote Code Execution Vulnerability","id":"CVE-2023-38147"},"packages":[],"prev":{"headline":"Windows Common Log File System Driver Elevation of Privilege Vulnerability","id":"CVE-2023-38144"},"products":["Windows 11 version 21H2","Windows 11 version 22H2"],"published":"2023-09-12","related":[{"cvss_score":7.8,"headline":"Microsoft Windows Hyper-V Privilege Escalation","id":"CVE-2024-38080","kev_date_added":"2024-07-09","published":"2024-07-09"},{"cvss_score":9.8,"headline":"HTTP Protocol Stack Remote Code Execution Vulnerability","id":"CVE-2023-23392","kev_date_added":null,"published":"2023-03-14"},{"cvss_score":8.8,"headline":"Remote Desktop Client Remote Code Execution Vulnerability","id":"CVE-2024-43533","kev_date_added":null,"published":"2024-10-08"},{"cvss_score":8.8,"headline":"Microsoft Management Console Remote Code Execution Vulnerability","id":"CVE-2024-38259","kev_date_added":null,"published":"2024-09-10"},{"cvss_score":8,"headline":"Secure Boot Security Feature Bypass Vulnerability","id":"CVE-2024-37977","kev_date_added":null,"published":"2024-07-09"},{"cvss_score":8,"headline":"Windows Bluetooth Driver Remote Code Execution Vulnerability","id":"CVE-2023-35634","kev_date_added":null,"published":"2023-12-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-10-30","vendors":["Microsoft"]},"summary":"An attacker can exploit a race condition in Windows Themes to execute arbitrary code on affected Windows 11 systems.","url":"https://insights.sbomify.com/CVE-2023-38146/"}