{"id":"CVE-2026-91135","state":"PUBLISHED","title":"Apache Thrift: C++ `THeaderTransport::transform()` heap buffer overflow (write direction)","description":"Heap-based buffer overflow vulnerability in Apache Thrift C++ THeaderTransport.\n\n\n\nWhen an application enables the ZLIB transform for the frames it sends, THeaderTransport::transform() copies the compressed frame into the write buffer without making sure it fits. Data that does not compress, such as content a remote peer supplied, grows under compression, so the copy writes past the end of the heap buffer by an amount that grows with the size of the frame, and for large frames it also reads past the end of the transform buffer.\n\n\n\nThis issue affects Apache Thrift: before 0.25.0.\n\n\n\nUsers are recommended to upgrade to version 0.25.0, which fixes the issue.","publishedAt":"2026-10-02T10:28:50.745Z","updatedAt":"2026-10-02T17:47:39.521Z","severity":{"score":9.2,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"apache"},"assigner":"apache","products":["Apache Software Foundation Apache Thrift"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Thrift","packageName":"thrift","packageURL":"pkg:conan/thrift","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.25.0","versionType":"semver"}],"collectionURL":"https://conan.io/center"}],"references":["https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1","https://lists.apache.org/thread/rbpwlhlxnv2qgyk8cfscp2d2fd3p0ojb"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/91xxx/CVE-2026-91135.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-91135","state":"PUBLISHED","datePublished":"2026-10-02T10:28:50.745Z","dateUpdated":"2026-10-02T17:47:39.521Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-09-14T19:41:58.259Z"},"containers":{"cna":{"title":"Apache Thrift: C++ `THeaderTransport::transform()` heap buffer overflow (write direction)","descriptions":[{"lang":"en","value":"Heap-based buffer overflow vulnerability in Apache Thrift C++ THeaderTransport.\n\n\n\nWhen an application enables the ZLIB transform for the frames it sends, THeaderTransport::transform() copies the compressed frame into the write buffer without making sure it fits. Data that does not compress, such as content a remote peer supplied, grows under compression, so the copy writes past the end of the heap buffer by an amount that grows with the size of the frame, and for large frames it also reads past the end of the transform buffer.\n\n\n\nThis issue affects Apache Thrift: before 0.25.0.\n\n\n\nUsers are recommended to upgrade to version 0.25.0, which fixes the issue."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Thrift","packageName":"thrift","packageURL":"pkg:conan/thrift","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.25.0","versionType":"semver"}],"collectionURL":"https://conan.io/center"}],"references":[{"url":"https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1","tags":["vendor-advisory"]},{"url":"https://lists.apache.org/thread/rbpwlhlxnv2qgyk8cfscp2d2fd3p0ojb","tags":["vendor-advisory"]}],"metrics":[{"other":{"type":"Textual description of severity","content":{"text":"critical"}},"scenarios":[{"lang":"en","value":"GENERAL"}]},{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"CRITICAL","baseScore":9.2,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"CWE-122 Heap-based buffer overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-10-02T10:28:50.745Z"},"source":{"discovery":"EXTERNAL"},"credits":[{"lang":"en","value":"glit3h from ZeroVuln Labs","type":"finder"}],"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-02T17:47:12.855344Z","id":"CVE-2026-91135","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-02T17:47:39.521Z"}}]}}}