PyArrow: Arbitrary code execution when loading a malicious data file
Critical9.8CVE-2023-47248 · Published Nov 9, 2023 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| pyarrow PyPI | >= 0.14.0, < 14.0.1 | 14.0.1 |
Details and references
Deserialization of untrusted data in IPC and Parquet readers in PyArrow versions 0.14.0 to 14.0.0 allows arbitrary code execution. An application is vulnerable if it reads Arrow IPC, Feather or Parquet data from untrusted sources (for example user-supplied input files). This vulnerability only affects PyArrow, not other Apache Arrow implementations or bindings. It is recommended that users of PyArrow upgrade to 14.0.1. Similarly, it is recommended that downstream libraries upgrade their dependency requirements to PyArrow 14.0.1 or later. PyPI packages are already available, and we hope that conda-forge packages will be available soon. If it is not possible to upgrade, maintainers provide a separate package `pyarrow-hotfix` that disables the vulnerability on older PyArrow versions. See https://pypi.org/project/pyarrow-hotfix/ for instructions.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-502
- Also known as
- CVE-2023-47248, PYSEC-2023-238
- nvd.nist.gov/vuln/detail/CVE-2023-47248
- github.com/apache/arrow/commit/f14170976372436ec1d03a724d8d3f3925484ecf
- github.com/advisories/GHSA-5wvp-7f3h-6wmm
- github.com/apache/arrow
- github.com/pypa/advisory-database/tree/main/vulns/pyarrow/PYSEC-2023-238.yaml
- lists.apache.org/thread/yhy7tdfjf9hrl9vfrtzo8p2cyjq87v7n
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FR34AIPXVTMB3XPRU5ULV5HHWPMRE33X
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MAGWEAJDWO2ACYATUQCPXLSYY5C3L3XU
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWFYXLVBTBHNKYRXI572RFX7IJDDQGBL
- pypi.org/project/pyarrow-hotfix
- www.cve.org/CVERecord?id=CVE-2023-47248
- www.openwall.com/lists/oss-security/2023/11/08/7
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 |
| 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 |
| Feb 17 | Apache Arrow: Potential use-after-free when reading IPC file with pre-buffering CVE-2026-25087High7.0fixed in 23.0.1 | High7.0 | 23.0.1 |