CVE-2021-40399: An exploitable use-after-free vulnerability exists in WPS Spreadsheets ( ET ) as part of WPS Office, version 1
CVE-2021-40399 is a high-severity flaw (CVSS 7.8) affecting wps office. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An exploitable use-after-free vulnerability exists in WPS Spreadsheets ( ET ) as part of WPS Office, version 11.2.0.10351. A specially-crafted XLS file can cause a use-after-free condition, resulting in remote code execution. An attacker needs to provide a malformed file to the victim to trigger the vulnerability.
Why this priority
- High severity
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.4% (top 28%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2022-05-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-40399?
wps office: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-40399 being exploited?
CVE-2021-40399 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-40399 affect?
CVE-2021-40399 affects wps office. Severity is high (CVSS 7.8). An exploitable use-after-free vulnerability exists in WPS Spreadsheets ( ET ) as part of WPS Office, version 11.2.0.10351. A specially-crafted XLS file can cause a use-after-free condition, resulting in remote code execution. An attacker ne
How urgent is CVE-2021-40399?
Priority 45/100. High severity
Related CVEs
- CVE-2024-7263 HIGH 7.8 UPGRADE Improper path validation in promecefpluginhost.exe in Kingsoft WPS Office version ranging from 12.2.0.13110 to
- CVE-2024-7262 HIGH 7.8 EXPLOITED UPGRADE Kingsoft WPS Office Path Traversal Vulnerability
- CVE-2024-57096 MEDIUM 5.5 MITIGATE An issue in wps office before v.19302 allows a local attacker to obtain sensitive information via a crafted fi
- CVE-2023-32548 HIGH 8.1 DOWNGRADE OS command injection vulnerability exists in WPS Office version 10.8.0.6186
- CVE-2022-26081 HIGH 7.8 DOWNGRADE The installer of WPS Office Version 10.8.0.5745 insecurely load shcore.dll, allowing an attacker to execute ar