# CVE-2025-46762: Apache Parquet Java: Potential malicious code execution from trusted packages in the parquet-avro module when reading an Avro schema from a Parquet file metadata

> Attackers can execute arbitrary code via malicious Avro schemas in Parquet files when using specific or reflect models in Apache Parquet Java.

- **Severity:** High 7.1 (`CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:L/VI:H/VA:H/SC:L/SI:H/SA:H/S:N/RE:M/U:Amber`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 6 May 2025
- **Updated:** 26 Feb 2026
- **Also known as:** GHSA-53wx-pr6q-m3j5

## What is CVE-2025-46762?

CVE-2025-46762 is a high-severity unsafe deserialization vulnerability in Apache Parquet Java, published on 6 May 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

### Official description

Schema parsing in the parquet-avro module of Apache Parquet 1.15.0 and previous versions allows bad actors to execute arbitrary code.

While 1.15.1 introduced a fix to restrict untrusted packages, the default setting of trusted packages still allows malicious classes from these packages to be executed.

The exploit is only applicable if the client code of parquet-avro uses the "specific" or the "reflect" models deliberately for reading Parquet files. ("generic" model is not impacted)

Users are recommended to upgrade to 1.15.2 or set the system property "org.apache.parquet.avro.SERIALIZABLE_PACKAGES" to an empty string on 1.15.1. Both are sufficient to fix the issue.

Weakness: CWE-73 (External Control of File Name or Path)

## Which versions are affected by CVE-2025-46762?

2 open source packages ship an affected version, including org.apache.parquet:parquet-avro. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.apache.parquet:parquet-avro` | Maven | All versions | 1.15.2 |
| `org.apache.parquet:parquet-avro` | Maven | All versions | 1.15.2 |

Products: Apache Parquet.

## How do I fix CVE-2025-46762?

Upgrade org.apache.parquet:parquet-avro to 1.15.2 or later.

## Is CVE-2025-46762 being exploited?

There is no known exploitation of CVE-2025-46762 in the wild and no public exploit code.

## Other vulnerabilities in Apache Parquet Java

- [CVE-2026-73334](https://insights.sbomify.com/CVE-2026-73334/): Apache Parquet Hadoop: File-controlled KMS URL is forwarded to pluggable KmsClient that skips host validation (high 8.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-46762 and fix it if it is affected.

What it is: CVE-2025-46762 is a high-severity unsafe deserialization vulnerability in Apache Parquet Java, published on 6 May 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2025-46762 in the wild and no public exploit code.

Affected packages and fixed versions:
- org.apache.parquet:parquet-avro (Maven): affected all versions; fixed in 1.15.2
- org.apache.parquet:parquet-avro (Maven): affected all versions; fixed in 1.15.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-46762/ (Markdown: https://insights.sbomify.com/CVE-2025-46762/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-46762
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-46762
- OSV: https://osv.dev/vulnerability/CVE-2025-46762

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-46762/
Summaries are generated and may contain mistakes; the official description above is the record.
