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.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This two-file repository contains a standalone C++ local privilege-escalation exploit for CVE-2022-22715 and a short README. It is not part of an exploit framework. The C++ program is a Windows-native, build-dependent exploit that uses WNF state-name allocation/spraying, LFH/VS heap manipulation, and extensive token-object spraying to create and identify corrupted kernel objects. It contains hard-coded ntoskrnl.exe offsets for process, KTHREAD, token, object-type, pool/heap, and quota-related structures, making it specific to the kernel layout for which it was developed. After obtaining a corrupted object primitive, it locates kernel addresses including the current and SYSTEM EPROCESS structures, modifies the current thread's PreviousMode to enable arbitrary kernel-address access through NtReadVirtualMemory/NtWriteVirtualMemory, and copies the SYSTEM token value into the current process token field. It then restores PreviousMode and invokes `cmd`. The README states execution must begin at LOW INTEGRITY and warns that cleanup repairs overwritten TOKEN objects but does not fully repair the VS pool structure.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Windows Named Pipe File System (npfs.sys) sandbox escape / local privilege escalation vulnerability caused by integer overflow and underflow in NpTranslateContainerLocalAlias when translating LOCAL\ named pipe paths for AppContainer or restricted tokens, leading to out-of-bounds kernel pool write.
Elevation of privilege vulnerability in Windows Named Pipe File System.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.