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
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.SERIALIZABLEPACKAGES" to an empty string on 1.15.1. Both are sufficient to fix the issue.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-46762?
CVE-2025-46762 is classified as a critical vulnerability due to its potential to allow arbitrary code execution.
How do I fix CVE-2025-46762?
To remediate CVE-2025-46762, upgrade to Apache Parquet version 1.15.2 or later.
Which versions of Apache Parquet are affected by CVE-2025-46762?
Apache Parquet versions up to and including 1.15.0 and versions between 1.15.1 and 1.15.2 are affected by CVE-2025-46762.
What types of attacks can CVE-2025-46762 facilitate?
CVE-2025-46762 can facilitate remote code execution attacks through malicious inputs in the parquet-avro module.
Is upgrading to version 1.15.2 sufficient to mitigate CVE-2025-46762?
Yes, upgrading to Apache Parquet version 1.15.2 addresses the vulnerabilities associated with CVE-2025-46762.