Mismatched Memory Management Routines in Thrift - CVE-2025-48431

 

Mismatched Memory Management Routines in Thrift - CVE-2025-48431

Published: April 28, 2026


Vulnerability identifier: #VU128310
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-48431
CWE-ID: CWE-762
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Thrift

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to mismatched memory management routines in c_glib language bindings when handling specially crafted requests. A remote attacker can send a specially crafted request to cause a denial of service.

The issue can terminate a c_glib-based Thrift server with a fatal "free(): invalid pointer" error.


How to mitigate CVE-2025-48431

Install security update from vendor's website.

Sources