Description
Heap-based buffer overflow vulnerability in Apache Thrift C++ THeaderTransport.
When 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.
This issue affects Apache Thrift: before 0.25.0.
Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Thrift | < 0.25.0 | 0.25.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | thrift | No fix yet | — |
| Debian 13 | thrift | No fix yet | — |
| Debian 12 | thrift | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | thrift | No fix yet | — |
| Ubuntu 26.04 LTS | thrift | No fix yet | — |
| Ubuntu 24.04 LTS | thrift | No fix yet | — |
| Ubuntu 22.04 LTS | thrift | No fix yet | — |
| Ubuntu 20.04 LTS | thrift | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | thrift | 0.25.0-1.1 | openSUSE-SU-2026:12051-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | thrift | 0.25.0-1 | — |
Advisories 1
- openSUSE-SU-2026:12051-1 libthrift-0_25_0-0.25.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 5, 2026
References
- https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1 vendor-advisory
- https://lists.apache.org/thread/rbpwlhlxnv2qgyk8cfscp2d2fd3p0ojb vendor-advisory