Apache Arrow: Potential use-after-free when reading IPC file with pre-buffering
High7.0CVE-2026-25087 · Published Feb 17, 2026 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| pyarrow PyPI | >= 15.0.0, < 23.0.1 | 23.0.1 |
Details and references
Use After Free vulnerability in Apache Arrow C++. This issue affects Apache Arrow C++ from 15.0.0 through 23.0.0. It can be triggered when reading an Arrow IPC file (but not an IPC stream) with pre-buffering enabled, if the IPC file contains data with variadic buffers (such as Binary View and String View data). Depending on the number of variadic buffers in a record batch column and on the temporal sequence of multi-threaded IO, a write to a dangling pointer could occur. The value (a `std::shared_ptr<Buffer>` object) that is written to the dangling pointer is not under direct control of the attacker. Pre-buffering is disabled by default but can be enabled using a specific C++ API call (`RecordBatchFileReader::PreBufferMetadata`). The functionality is not exposed in language bindings (Python, Ruby, C GLib), so these bindings are not vulnerable. The most likely consequence of this issue would be random crashes or memory corruption when reading specific kinds of IPC files. If the application allows ingesting IPC files from untrusted sources, this could plausibly be exploited for denial of service. Inducing more targeted kinds of misbehavior (such as confidential data extraction from the running process) depends on memory allocation and multi-threaded IO temporal patterns that are unlikely to be easily controlled by an attacker. Advice for users of Arrow C++: 1. check whether you enable pre-buffering on the IPC file reader (using `RecordBatchFileReader::PreBufferMetadata`) 2. if so, either disable pre-buffering (which may have adverse performance consequences), or switch to Arrow 23.0.1 which is not vulnerable
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-416
- Also known as
- CVE-2026-25087, PYSEC-2026-113
More Apache Arrow advisories
All Apache Arrow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Nov 282024 | Deserialization of untrusted data in IPC and Parquet readers in the Apache Arrow R package versions 4.0.0 through 16.1.0 allows arbitrary code execution. An application is vulnerable if it CVE-2024-52338Critical9.8fixed in 17.0.0 | Critical9.8 | 17.0.0 |
| Nov 92023 | PyArrow: Arbitrary code execution when loading a malicious data file CVE-2023-47248Critical9.8fixed in 14.0.1 | Critical9.8 | 14.0.1 |
| May 242022 | Missing Initialization of Resource in Apache Arrow CVE-2019-12408High7.5fixed in 0.15.1 | High7.5 | 0.15.1 |
| May 242022 | Missing Initialization of Resource in Apache Arrow CVE-2019-12410High7.5fixed in 0.15.1 | High7.5 | 0.15.1 |