SecurityContext

CVE-2021-40399: WPS Office - Use After Free

  • Cve: CVE-2021-40399
  • Name: WPS Office - Use After Free
  • Description: 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.
  • Impact: Remote attackers can execute arbitrary code on the affected system, potentially leading to full system compromise.
  • Remediation: Update to the latest version of WPS Office or apply security patches provided by the vendor.
  • Vulnerability type: use_after_free
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to provide a malformed XLS file
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.01395
  • Epss percentile: 0.72958
  • Assignee: [email protected]
  • Published at: 2022-05-12T17:15:09Z
  • Age in days: 1657
  • Modified at: 2026-06-17T04:06:51Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40399
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-416Use After Free

References

UrlSourceTags
https://security.wps.cn/notices/28nvdThird Party Advisory
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1412nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
wps:wps_office= 11.2.0.10351nonvd/v1/products/wps/wps_office

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts