---
id: CVE-2026-43868
title: |-
  Memory Allocation with Excessive Size Value vulnerability in Apache Thrift.

  This issue affects Apache Thrift: before 0.23.0.

  Users are recommended to upgrade to version 0.23.0, which fixes the issue.
summary: |-
  Memory Allocation with Excessive Size Value vulnerability in Apache Thrift.

  This issue affects Apache Thrift: before 0.23.0.

  Users are recommended to upgrade to version 0.23.0, which fixes the issue.
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-789
  - CWE-1285
vendor: apache
product: thrift
affected:
  - thrift < 0.23.0
patched:
  - thrift 0.23.0
published: '2026-05-05'
updated: '2026-07-06'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-43868'
references:
  - url: 'https://lists.apache.org/thread/zj76dtwnbbs1m7z3focf4wd51pqpsmn9'
    label: security@apache.org
  - url: 'https://access.redhat.com/errata/RHSA-2026:26586'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-43868'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2466670'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43868.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-43868'
  - url: >-
      https://github.com/apache/thrift/commit/d5152211af61f850ec393604316804096dd4632e
  - url: 'https://access.redhat.com/errata/RHSA-2026:42644'
  - url: 'https://github.com/apache/thrift'
tags:
  - nvd
  - osv
  - rust
epss: 0.01199
epssPercentile: 0.66794
ingestedAt: '2026-07-06T17:44:51.148Z'
aliases:
  - GHSA-2f9f-gq7v-9h6m
  - BIT-thrift-2026-43868
ecosystem: rust
---

## Overview

Memory Allocation with Excessive Size Value vulnerability in Apache Thrift.

This issue affects Apache Thrift: before 0.23.0.

Users are recommended to upgrade to version 0.23.0, which fixes the issue.

## Affected

- `thrift < 0.23.0`

## Remediation

Upgrade past the affected range:

- `thrift 0.23.0`

## Package advisory (CVE-2026-43868)

Affected packages:

- `thrift < 0.23.0`

Patched in:

- `thrift 0.23.0`

Source: https://osv.dev/vulnerability/GHSA-2f9f-gq7v-9h6m
