CVE-2025-46762: Apache Parquet Java Potential Malicious Code Execution From Vulnerability
HIGHCVE-2025-46762 is a HIGH potential malicious code execution from vulnerability (CWE-73: External Control of File Name or Path) affecting Apache Parquet Java libraries in the Maven ecosystem. The issue involves potential malicious code execution from trusted packages in the parquet-avro module when reading an avro schema from a parquet file metadata. Remediation is available by upgrading affected packages to version 1.15.2.
CVE-2025-46762 at a Glance
How to Fix CVE-2025-46762
To remediate this vulnerability, upgrade all affected Apache Parquet Java dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.parquet</groupId>
<artifactId>parquet-avro</artifactId>
<version>1.15.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.parquet
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-46762, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.parquet
Analyze the terminal output to locate any version of Apache Parquet Java in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.15.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.parquet command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-73: External Control of File Name or Path, where the product allows user input to control or influence paths or file names that are used in filesystem operations. In Apache Parquet Java, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-46762 Affected Apache Parquet Java Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.parquet:parquet-avro
|
Maven |
< 1.15.2
|
1.15.2
|
References
Frequently Asked Questions
What is CVE-2025-46762?
Which Apache Parquet Java versions are affected?
What version fixes CVE-2025-46762?
Is parquet-avro affected?
What CWE is associated with CVE-2025-46762?
How can I check Maven dependencies for CVE-2025-46762?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-53wx-pr6q-m3j5",
"modified" : "2025-05-06T16:46:15Z",
"published" : "2025-05-06T12:30:23Z",
"aliases" : [ "CVE-2025-46762" ],
"summary" : "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",
"details" : "Schema parsing in the parquet-avro module of Apache Parquet 1.15.0 and previous versions allows bad actors to execute arbitrary code.\n\nWhile 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.\n\nThe 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)\n\nUsers 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.parquet:parquet-avro"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.15.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-46762"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/parquet-java"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/AVRO-3985"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/t7724lpvl110xsbgqwsmrdsns0rhycdp"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/05/02/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-73" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-06T16:46:15Z",
"nvd_published_at" : "2025-05-06T10:15:16Z"
}
}