Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.parquet/parquet-avro
  4. ›
  5. CVE-2025-46762

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

May 6, 2025

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.

References

  • github.com/advisories/GHSA-53wx-pr6q-m3j5
  • github.com/apache/parquet-java
  • issues.apache.org/jira/browse/AVRO-3985
  • lists.apache.org/thread/t7724lpvl110xsbgqwsmrdsns0rhycdp
  • nvd.nist.gov/vuln/detail/CVE-2025-46762

Code Behaviors & Features

Detect and mitigate CVE-2025-46762 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.15.2

Fixed versions

  • 1.15.2

Solution

Upgrade to version 1.15.2 or above.

Weakness

  • CWE-73: External Control of File Name or Path

Source file

maven/org.apache.parquet/parquet-avro/CVE-2025-46762.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.