Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-316 (在内存中的明文存储) — Vulnerability Class 32

32 vulnerabilities classified as CWE-316 (在内存中的明文存储). AI Chinese analysis included.

CWE-316 represents a critical data exposure weakness where applications retain sensitive information in plaintext within volatile memory rather than encrypting or securely obfuscating it. This vulnerability is typically exploited by attackers with local system access who can analyze core dumps, swap files, or memory snapshots to retrieve unencrypted credentials, session tokens, or personal data left behind after processing. Even if the application crashes or the memory is deallocated without explicit zeroing, residual data often persists in swap space or physical memory pages. To mitigate this risk, developers must implement rigorous memory management practices, such as explicitly overwriting sensitive buffers with zeros before freeing them, utilizing secure memory allocation libraries that prevent swapping, and ensuring that sensitive data is never logged or written to disk in its original form.

MITRE CWE Description
The product stores sensitive information in cleartext in memory. The sensitive memory might be saved to disk, stored in a core dump, or remain uncleared if the product crashes, or if the programmer does not properly clear the memory before freeing it. It could be argued that such problems are usually only exploitable by those with administrator privileges. However, swapping could cause the memory to be written to disk and leave it accessible to physical attack afterwards. Core dump files might have insecure permissions or be stored in archive files that are accessible to untrusted people. Or, uncleared sensitive memory might be inadvertently exposed to attackers due to another weakness.
Common Consequences (1)
Confidentiality Read Memory
CVE ID Title CVSS Severity Published
CVE-2019-3733 Dell RSA BSAFE Crypto-C Micro Edition 信息泄露漏洞 — RSA BSAFE Crypto-C Micro Edition 4.9 - 2019-09-30
CVE-2014-2366 Advantech WebAccess Cleartext Storage of Sensitive Information in Memory — WebAccess 6.5 - 2014-07-19

Vulnerabilities classified as CWE-316 (在内存中的明文存储) represent 32 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.