VariantIncomplete
CWE-762Mismatched Memory Management Routines
Category: memory
Description
The product attempts to return a memory resource to the system, but it calls a release function that is not compatible with the function that was originally used to allocate that resource.
Common consequences· 1
- Integrity / Availability / Confidentiality — Modify Memory, DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands
Potential mitigations· 4
- [Implementation]Only call matching memory management functions. Do not mix and match routines. For example, when you allocate a buffer with malloc(), dispose of the original pointer with free().
- [Implementation]
- [Architecture and Design]
- [Architecture and Design]Use a language that provides abstractions for memory allocation and deallocation.
References
(incoming)2
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-47737cve-2025-47737 | 0% | live |
| Vulnerability | CVE-2025-48755cve-2025-48755 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.