Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-25087

HIGH 7.0EPSS 65%

Apache Arrow: Potential use-after-free when reading IPC file with pre-buffering

Also known as GHSA-rgxp-2hwp-jwgg, PYSEC-2026-113

Mitigation

  • Upgrade pyarrow to 23.0.1 or later.

Who should check

  • Projects that depend on PyPI package pyarrow (>= 15.0.0, < 23.0.1)
  • Anyone running Apache Software Foundation Apache Arrow >= 15.0.0, <= 23.0.0

Vulnerability facts

Affected
pyarrow >= 15.0.0, < 23.0.1
Fixed in
23.0.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: High
EPSS
1.11% chance of exploitation in 30 days (percentile 65, 2026-11-26)
CWE
CWE-416
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
PyPI pyarrow>= 15.0.0, < 23.0.123.0.1osv
Apache Software Foundation Apache Arrow>= 15.0.0, <= 23.0.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-25087. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-25087.md
Affected: pyarrow >= 15.0.0, < 23.0.1
Fixed in: 23.0.1

Steps:
1. Search this machine and project for pyarrow (PyPI), Apache Software Foundation Apache Arrow: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-25087 being exploited?

There is no confirmed exploitation: CVE-2026-25087 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.11% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-25087?

High: CVSS 7.0 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-25087?

pyarrow >= 15.0.0, < 23.0.1.

Is there a fix for CVE-2026-25087?

Yes. Fixed in 23.0.1. Upgrade pyarrow to 23.0.1 or later.

How do I check if I'm affected by CVE-2026-25087?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors