---
id: CVE-2026-83745
title: "Memory allocation with excessive size value, Improper handling of length parameter inconsistency vulnerability in Apache Thrift\_\nnodejs and D lang bindings.\n\nBoth bindings' WebSocket server transports read the payload length out of the\_f…"
summary: "Memory allocation with excessive size value, Improper handling of length parameter inconsistency vulnerability in Apache Thrift\_\nnodejs and D lang bindings.\n\nBoth bindings' WebSocket server transports read the payload length out of the\_f…"
severity: high
cvss: 8.7
cvssVector: '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'
cwe:
  - CWE-130
  - CWE-789
vendor: Apache Software Foundation
product: thrift
affected:
  - thrift < 0.25.0
  - d_language_bindings < 0.25.0
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T18:17:05.870'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-83745'
references:
  - url: 'https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1'
    label: security@apache.org
  - url: 'https://lists.apache.org/thread/64y7f0b89mnq4xoqcn4h26to8kskolgc'
    label: security@apache.org
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-83745.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-83745'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2545142'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-83745'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-83745'
  - url: 'https://access.redhat.com/errata/RHSA-2026:74369'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-02T17:16:38.442092Z'
cvssSource: cna
ingestedAt: '2026-10-02T12:17:44.360Z'
patched:
  - hardened_images
scores:
  cna: 8.7
  vendor: 7.5
epss: 0.00342
epssPercentile: 0.27564
---

## Overview

Memory allocation with excessive size value, Improper handling of length parameter inconsistency vulnerability in Apache Thrift 
nodejs and D lang bindings.

Both bindings' WebSocket server transports read the payload length out of the frame header and allocate that many bytes immediately, without checking that the bytes have arrived. A single ~14-byte frame therefore commits as much memory as it cares to declare -- measured at 513 MiB against the Node.js server and 2 GiB against the D transport -- and in the Node.js case the connection is left open afterwards, so the frame can simply be sent again.




This issue affects Apache Thrift before 0.25.0.



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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:74369** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:74369)
- **Red Hat VEX** · Important · affected: Red Hat Ceph Storage 7, Red Hat Ceph Storage 8, Red Hat Ceph Storage 9, Red Hat Enterprise Linux AI (RHEL AI) 3 · no fix planned: Red Hat Ceph Storage 7, Red Hat Ceph Storage 8, Red Hat Ceph Storage 9, Red Hat Enterprise Linux AI (RHEL AI) 3 · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-83745.json)
