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

High 7.1 Published Updated

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

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

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

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.

PackageAffectedFixed in
org.apache.parquet:parquet-avro MavenAll versions1.15.2
org.apache.parquet:parquet-avro MavenAll versions1.15.2

Products include Apache Parquet.

How do I fix CVE-2025-46762?

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

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2025-46762 being exploited?

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

Sources

Also known as GHSA-53wx-pr6q-m3j5.

Is CVE-2025-46762 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free