CWE-591: Sensitive Data Storage in Improperly Locked Memory
75 CVEs have CWE-591 as their primary weakness. 2 of them are in the CISA KEV catalog. The highest EPSS score among them is 34.189%.
The product stores sensitive data in memory that is not locked, or that has been incorrectly locked.
Child of CWE-413: Improper Resource Locking
Mitigations
- Architecture and Design: Identify data that needs to be protected from swapping and choose platform-appropriate protection mechanisms.
- Implementation: When using potentially risky functions such as mlock() or VirtualLock(), check return values to ensure that locking operations are successful.
Observed examples
- CVE-2024-38106: OS kernel stores sensitive data in improperly locked memory, allowing local users to gain privileges by winning a race condition
Top released CVEs
KEV first, then the highest EPSS score, the highest CVSS score and the newest.
| CVE | Published | Severity | CVSS | EPSS | Description |
|---|---|---|---|---|---|
| CVE-2024-38106 | 2024-08-13 | HIGH | 7.0 | 6.337% | Windows Kernel Elevation of Privilege Vulnerability |
| CVE-2023-28229 | 2023-04-11 | HIGH | 7.0 | 1.671% | Windows CNG Key Isolation Service Elevation of Privilege Vulnerability |
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-591'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-591'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).