User-assisted code execution via uninitialized pointer free
Published Feb 9, 2022 · Updated Oct 21, 2025
Remote code execution in Microsoft Windows Runtime allows attackers to execute code when a user opens a crafted RTF file. WapAuthProvider::CreateInstance leaves an object pointer uninitialized, and WapAuthProvider::~WapAuthProvider passes that value to LocalFree. Successful exploitation requires user interaction and runs code in the context of the application that opens the document.
Summary
What happened
Remote code execution in Microsoft Windows Runtime allows attackers to execute code when a user opens a crafted RTF file. WapAuthProvider::CreateInstance leaves an object pointer uninitialized, and WapAuthProvider::~WapAuthProvider passes that value to LocalFree. Successful exploitation requires user interaction and runs code in the context of the application that opens the document.
The record
- CVE
- CVE-2022-21971
- Published
- Feb 9, 2022
- Updated
- Oct 21, 2025
- Vendor
- Microsoft
- Product
- Windows Server 2019
- Classifications
- CWE-824, T1203, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 9, 2022CVE publishedPublication date reported by the CVE source.
- Oct 21, 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.17763.0 <10.0.17763.2565
What conditions does exploitation require?
What is affected?
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
- CVE-2022-21971 crafted RTF proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities catalog listingknown exploited catalog
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