CVE-2025-48431

Apache Thrift: Specially crafted input can crash a c_glib Thrift server with invalid pointer error.

Published Apr 28, 2026 CVSS 3.1 · 7.5 High EPSS 1.0% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
CPEs cpe:2.3:a:apache:thrift:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache thrift
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'}

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
Weaknesses
  • CWE-762

    Mismatched Memory Management Routines

  • CWE-763

    Release of Invalid Pointer or Reference

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 10, 2026, 12:05 PM
Reserved
May 20, 2025, 8:27 PM
Status
Modified
Published
Apr 28, 2026, 10:16 AM
Modified
Oct 7, 2026, 9:10 AM