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
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.parquet » parquet-avro | < 1.15.2 | 1.15.2 |
Blast radius
56% of the dependent artifacts (521) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 14,255 |
| 2 hops | 22,677 |
| 3 hops | 9,165 |
| 4 hops | 1,892 |
| 5 hops | 267 |
| 6 hops | 108 |
Most used dependents
- org.apache.sqoop » sqoop107 usages
- org.apache.hudi » hudi-common98 usages
- io.milvus » milvus-sdk-java89 usages
- org.apache.iceberg » iceberg-parquet81 usages
- org.apache.iceberg » iceberg-data78 usages
- org.apache.hudi » hudi-client-common49 usages
- com.spotify » scio-test42 usages
- org.kitesdk » kite-data-core41 usages
- org.apache.hudi » hudi-hadoop-common40 usages
- org.apache.hudi » hudi-spark-client33 usages
- org.apache.hudi » hudi-hive-sync32 usages
- org.apache.hudi » hudi-spark-common29 usages
- com.linkedin.iceberg » iceberg-data28 usages
- org.apache.hudi » hudi-hadoop-mr26 usages
- org.apache.crunch » crunch-core26 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2025-46762 | nvd.nist.gov |
| Package | apache/parquet-java | github.com |
| Web | jira/browse/AVRO-3985 | issues.apache.org |
| Web | thread/t7724lpvl110xsbgqwsmrdsns0rhycdp | lists.apache.org |
| Web | lists/oss-security/2025/05/02/1 | openwall.com |
