CWE-762Variant

Mismatched Memory Management Routines

Incomplete in the CWE catalog · 10 CVEs mapped

10
CVEs mapped
6.3
Median CVSS
What it is

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.

Recent examples
7.8cvss
CVE-2026-43622

CVE-2026-43622 - HIGH Severity Vulnerability

llama.cpp builds b1886 through b7445 contain a double free vulnerability in the LLaMA-Android JNI wrapper where new_1batch() allocates memory using malloc() while free_1batch() deallocates it using the C++ delete operator, causing heap metadata corruption. Attackers can trigger this memory management mismatch to cause denial of service through process crashes or potentially achieve arbitrary code execution depending on allocator state.

HIGHno explanation yet
0%
epss
7.5cvss
CVE-2025-48431

CVE-2025-48431 - HIGH Severity Vulnerability

Mismatched Memory Management Routines vulnerability in Apache Thrift c_glib language bindings. This issue affects Apache Thrift: before 0.23.0. Users are recommended to upgrade to version 0.23.0, which fixes the issue. Description: Specially crafted requests can crash an c_glib-based Thrift server with a clean but fatal "free(): invalid pointer" error message.

HIGHno explanation yet
1%
epss
4.8cvss
CVE-2025-11015

OGRECave Ogre OgreSTBICodec.cpp encode mismatched memory management routines

A weakness has been identified in OGRECave Ogre up to 14.4.1. Impacted is the function STBIImageCodec::encode of the file /ogre/PlugIns/STBICodec/src/OgreSTBICodec.cpp. This manipulation causes mismatched memory management routines. The attack is restricted to local execution. The exploit has been made available to the public and could be exploited.

MEDIUMno explanation yet
0%
epss
The record
Technical detail
CWE ID
CWE-762
Abstraction
Variant
Structure
Simple
Status
Incomplete
References (4)