What’s Vulnerable › Vulnerabilities

CVE-2025-33042: Apache Avro Java SDK: Code injection on Java generated code

Description

Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Avro Java SDK when generating specific records from untrusted Avro schemas. This issue affects Apache Avro Java SDK: all versions through 1.11.4 and version 1.12.0. Users are recommended to upgrade to version 1.12.1 or 1.11.5, which fix the issue.

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache Avro 1.11.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-33042 or the next vulnerability affects your stack