The product stores sensitive data in memory that is not locked, or that has been incorrectly locked, which might cause the memory to be written to swap files on disk by the virtual memory manager. This can make the data more accessible to external actors.
Identify data that needs to be protected from swapping and choose platform-appropriate protection mechanisms.
Check return values to ensure locking operations are successful.
Our security experts can help you identify and remediate CWE-591 vulnerabilities in your codebase.
Get Security Assessment