CVE-2022-22715: Windows Named Pipe File System Elevation of Privilege
- Vendor
- Microsoft Corporation
CVE-2022-22715 is an elevation-of-privilege vulnerability in the Windows Named Pipe File System driver, npfs.sys. The flaw is in npfs!NpTranslateContainerLocalAlias, which translates LOCAL-namespaced named-pipe names for AppContainer and restricted processes. Crafted, excessively long pipe names cause integer overflow in a size calculation; if the pipe name begins with a backslash, a subsequent MaximumLength calculation can underflow. The driver consequently allocates an undersized paged-pool buffer and RtlUnicodeStringPrintf performs an out-of-bounds write. The vulnerability was used to escape the Adobe Reader AppContainer sandbox at TianfuCup 2021.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits corruption of adjacent kernel-pool objects, potentially causing a Windows kernel crash. Exploitation techniques demonstrated for this flaw converted the out-of-bounds access into arbitrary kernel read/write capability and privilege escalation, including escape from an Adobe Reader AppContainer sandbox.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure by minimizing execution of untrusted code in AppContainer or other low-privilege local contexts and by restricting opportunities for local code execution. Harden high-risk workflows that rely on sandboxed document readers or browsers, since the flaw is useful as a sandbox escape. Standard least-privilege controls, application control, and rapid deployment of kernel security updates are the most relevant interim defenses; no complete mitigation is available in the provided information short of installing the vendor fix.
Remediation
Patch, then assume compromise.
Install Microsoft's February 2022 security update for CVE-2022-22715. The fix changes NPFS size calculations to use int-sized arithmetic and rejects final sizes exceeding 0xFFFE.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2022-22715 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2022-22715 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-22715?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2022-22715, the earliest disclosed Sep 16, 2026.
- Is there a patch for CVE-2022-22715?
- Install Microsoft's February 2022 security update for CVE-2022-22715. The fix changes NPFS size calculations to use int-sized arithmetic and rejects final sizes exceeding 0xFFFE.
- What products are affected by CVE-2022-22715?
- Microsoft Corporation Windows 10, Microsoft Corporation Windows 11, Microsoft Corporation Windows Server, and Microsoft Corporation Windows Server 2019.
- How severe is CVE-2022-22715?
- CVE-2022-22715 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 13.6% (97th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.