CWE-762: Mismatched Memory Management Routines

low-risk

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.

Abstraction: Variant

Common Consequences

Integrity Modify Memory

Detection Methods

Dynamic Analysis with Automated Results Interpretation

Use a tool that dynamically detects memory management problems, such as valgrind.

Automated Dynamic Analysis

Use tools that are integrated during compilation to insert runtime error-checking mechanisms related to memory safety errors, such as AddressSanitizer (ASan) for C/C++ [REF-1518].

Real-World Examples (10)

CVE CVSS EPSS KEV
CVE-2023-41056 8.1 6.8%
CVE-2025-49080 7.5 0.4%
CVE-2025-47737 2.9 0.2%
CVE-2025-48755 2.9 0.2%
CVE-2024-32503 8.4 0.1%
CVE-2025-20189 7.4 0.1%
CVE-2024-2955 7.8 0.1%
CVE-2023-45510 7.5 0.1%
CVE-2024-4853 3.6 0.1%
CVE-2023-3648 5.3 0.0%
0
/ 100
low-risk
Active Threat 0/50 · Minimal
Exploit Availability 0/50 · Minimal