Common Weakness Enumeration

    CWE Definition / CWE-762

    CWE-762: Mismatched Memory Management Routines

    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.

    Published:8 May 2009
    Organization:MITRE
    Modified:30 Apr 2026

    Related Weakness

    CWE-763: Release of Invalid Pointer or Reference

    CWE-404: Improper Resource Shutdown or Release