CVE-2023-47248: PyArrow Arbitrary Code Execution Vulnerability

pyarrow Updated 02 Oct 2025

Summary

09/11/2023
Yes i
Critical
9.8

CVE-2023-47248: PyArrow: Arbitrary code execution when loading a malicious data file. Affects pyarrow versions >= 0.14.0, < 14.0.1. Fixed in 14.0.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

PyArrow is an open-source library that provides a Python interface for Apache Arrow, a columnar in-memory data format. It allows users to efficiently transfer data between different programming languages and systems. PyArrow is commonly used in data processing and analytics applications. However, versions 0.14.0 to 14.0.0 of PyArrow are vulnerable to arbitrary code execution when loading a malicious data file. This vulnerability can be exploited if an application reads Arrow IPC, Feather, or Parquet data from untrusted sources.

Vulnerability Detail

The vulnerability in PyArrow arises from the deserialization of untrusted data in IPC and Parquet readers. An attacker can craft a malicious data file that, when loaded by a vulnerable application, triggers arbitrary code execution. This can lead to various security risks, including remote code execution, data exfiltration, and privilege escalation. It is important to note that this vulnerability only affects PyArrow and not other Apache Arrow implementations or bindings.

How To Fix

Minimum fixed version

14.0.1

This is the first release that contains the fix.

pip install --upgrade "pyarrow==14.0.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The PyArrow Arbitrary Code Execution vulnerability (CVE-2023-47248) poses a significant risk to applications that read Arrow IPC, Feather, or Parquet data from untrusted sources. It is crucial to upgrade to PyArrow 14.0.1 or later to mitigate this vulnerability. If upgrading is not feasible, the 'pyarrow-hotfix' package can be used as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for pyarrow →

Share this vulnerability

FAQ

PyArrow is an open-source library that provides a Python interface for Apache Arrow, a columnar in-memory data format. It enables efficient data transfer between different programming languages and systems.

Versions 0.14.0 to 14.0.0 of PyArrow are affected by this vulnerability.

This vulnerability allows arbitrary code execution, which can lead to remote code execution, data exfiltration, and privilege escalation.

No, this vulnerability only affects PyArrow and not other Apache Arrow implementations or bindings.

To fix this vulnerability, upgrade to PyArrow 14.0.1 or later. If upgrading is not possible, use the 'pyarrow-hotfix' package provided by the maintainers.

Related vulnerabilities

Recent vulnerabilities recorded for pyarrow.

How To Fix

Minimum fixed version

14.0.1

This is the first release that contains the fix.

pip install --upgrade "pyarrow==14.0.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback