# CVE-2026-25087: Apache Arrow: Potential use-after-free when reading IPC file with pre-buffering

- Severity: High 7.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-01)
- Published: 2026-02-17T13:18:25.494Z
- Modified: 2026-09-10T03:50:35.750Z
- Also known as: GHSA-rgxp-2hwp-jwgg, PYSEC-2026-113
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## Description

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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Arrow: from 15.0.0 up to 23.0.0 (not affected: 23.0.1)
- pyarrow (PyPI): from 15.0.0 before 23.0.1
- apache arrow: from 15.0.0 before 23.0.1

## Every score

- CISA-ADP: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- PyPA Advisory Database: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`

## References

- <https://github.com/apache/arrow/pull/48925> (fix, issue-tracking, patch, web)
- <https://lists.apache.org/thread/mpm4ld1qony30tchfpjtk5b11tcyvmwh> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/02/17/4> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25087> (advisory)
- <https://github.com/apache/arrow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pyarrow/PYSEC-2026-113.yaml> (web)
- <https://github.com/advisories/GHSA-rgxp-2hwp-jwgg> (advisory)

## Sources

- CVE List: [CVE-2026-25087](https://www.cve.org/CVERecord?id=CVE-2026-25087), CVE Terms of Use, modified 2026-02-20
- GitHub Advisory Database: [GHSA-rgxp-2hwp-jwgg](https://github.com/advisories/GHSA-rgxp-2hwp-jwgg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-25087](https://nvd.nist.gov/vuln/detail/CVE-2026-25087), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-113](https://osv.dev/vulnerability/PYSEC-2026-113), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2026-25087 · Whole record: https://cve.day/CVE-2026-25087.json · Rebuilt by cve.day 2026-11-25T22:59:13.955Z
