Description
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.
Published: 2026-04-28
Score: 7.5 High
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from mismatched memory management routines in the c_glib language bindings of Apache Thrift. An attacker can send specially crafted requests that trigger a free(): invalid pointer exception, causing the server to crash and become unavailable, which constitutes a denial‑of‑service flaw. The flaw does not directly expose data or allow privilege escalation. The likely attack vector is an unauthenticated network request to a Thrift c_glib service, implying that any host that can reach the service can potentially exploit the issue.

Affected Systems

Apache Thrift servers that use the c_glib bindings, specifically all releases before version 0.23.0, are impacted. The vendor is the Apache Software Foundation and the product is Apache Thrift.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity impact. The EPSS score of approximately 1.08% suggests a low exploitation likelihood, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, any publicly exposed Thrift service can be targeted with a simple malformed request, meaning that the condition for exploitation is minimal. The combination of a high‑severity crash and low exploitation probability leads to a moderate overall risk assessment.

Generated by OpenCVE AI on August 14, 2026 at 04:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Apache Thrift version 0.23.0 or newer, applying any vendor‑supplied patch.
  • If immediate patching is not possible, isolate the Thrift c_glib service behind a firewall and restrict access to trusted hosts, limiting the attack surface.
  • Add comprehensive input validation on the Thrift service to detect and reject malformed requests before processing; implement checks that prevent mismatched memory management and inconsistent deallocation, thereby mitigating the CWE‑762 and CWE‑763 weaknesses.
  • Monitor service logs for "free(): invalid pointer" events, set up alerts for unexpected crashes, and enable automatic restarts to reduce downtime.

Generated by OpenCVE AI on August 14, 2026 at 04:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 30 Jun 2026 04:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 28 Apr 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
CPEs cpe:2.3:a:apache:thrift:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache thrift

Tue, 28 Apr 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Tue, 28 Apr 2026 10:30:00 +0000

Type Values Removed Values Added
References

Tue, 28 Apr 2026 10:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache Thrift: Specially crafted input can crash a c_glib Thrift server with invalid pointer error.
Weaknesses CWE-762
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-26T12:04:52.067Z

Reserved: 2025-05-20T20:27:01.040Z

Link: CVE-2025-48431

cve-icon Vulnrichment

Updated: 2026-04-28T09:50:39.269Z

cve-icon NVD

Status : Modified

Published: 2026-04-28T10:16:02.153

Modified: 2026-08-26T13:17:15.280

Link: CVE-2025-48431

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T04:30:17Z

Weaknesses
  • CWE-762

    Mismatched Memory Management Routines

  • CWE-763

    Release of Invalid Pointer or Reference