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

Expired Pointer Dereference

The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid.

Part of: CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer

36CVEs of this type in the archive
2critical (CVSS ≥ 9)
12high severity (7–8.9)
Nov 29, 2026latest published

What it is

The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid.

Impact on systems

ScopeImpact
Confidentiality Read Memory
If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.
Availability DoS: Crash, Exit, or Restart
If the expired pointer references a memory location that is not accessible to the product, or points to a location that is malformed (such as NULL) or larger than expected by a read or write operation, then a crash may occur.
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.

How to prevent it

Architecture and Design Choose a language that provides automatic memory management.
Implementation When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

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

CWE-825 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20232
20242
20259
202623

All CWE-825 CVEs

36 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.