1. CVE archive
  2. Vulnerability types
  3. CWE-256
CWE-256 · #156 most frequent type in the archive

Plaintext Storage of a Password

The product stores a password in plaintext within resources such as memory or files.

Part of: CWE-522 · Insufficiently Protected Credentials

149CVEs of this type in the archive
13critical (CVSS ≥ 9)
51high severity (7–8.9)
Nov 24, 2026latest published

What it is

The product stores a password in plaintext within resources such as memory or files.

Impact on systems

ScopeImpact
Access Control Gain Privileges or Assume Identity
Storing a plaintext password in a configuration file allows anyone who can read the file to access the password-protected resource. In some contexts, even storage of a plaintext password in memory is considered a security risk if the password is not cleared immediately after it is used.

How to prevent it

Architecture and Design Avoid storing passwords in easily accessible locations.
Architecture and Design Consider storing cryptographic hashes of passwords as an alternative to storing in plaintext.
A programmer might attempt to remedy the password management problem by obscuring the password with an encoding function, such as base 64 encoding, but this effort does not adequately protect the password because the encoding can be detected and decoded easily.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-256 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20171
20191
20211
20223
20239
202434
202550
202650

All CWE-256 CVEs

149 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.