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

Published Feb 12, 2026
·
Updated

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 Software

8 affected componentsFixes available
Apache Avro Java SDK<1.11.4
maven/org.apache.avro:avro<1.11.5
1.11.5
maven/org.apache.avro:avro=1.12.0
1.12.1
Apache Avro<1.11.5
Apache Avro=1.12.0
Apache Avro=1.12.0-rc0
Apache Avro=1.12.0-rc1
IBM watsonx.data intelligence<=5.2.2, 5.3.0, 5.3.1, 5.3.1-patch-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.avro:avro to a version that resolves this vulnerability.

    Fixed in 1.11.5
  2. Upgrade

    Upgrade maven/org.apache.avro:avro to a version that resolves this vulnerability.

    Fixed in 1.12.1
  3. Upgrade

    Upgrade Apache Avro Java SDK to a version that resolves this vulnerability.

    Fixed in 1.12.1
  4. Upgrade

    Upgrade Apache Avro Java SDK to a version that resolves this vulnerability.

    Fixed in 1.11.5

Event History

Feb 13, 2026
CVE Published
via MITRE·11:47 AM
Data Sourced
via MITRE·11:47 AM
DescriptionWeakness
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·12:31 PM
Data Sourced
via GitHub·12:31 PM
DescriptionWeaknessAffected Software
Jun 24, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-33042?

CVE-2025-33042 is classified as a critical vulnerability due to its potential for code injection in Apache Avro Java SDK.

2

How do I fix CVE-2025-33042?

To resolve CVE-2025-33042, upgrade to Apache Avro Java SDK version 1.11.5 or later.

3

Which versions of Apache Avro Java SDK are affected by CVE-2025-33042?

CVE-2025-33042 affects all versions of Apache Avro Java SDK up to and including 1.11.4.

4

What type of vulnerability is CVE-2025-33042?

CVE-2025-33042 is a code injection vulnerability that occurs due to improper control over the generation of code.

5

Who is impacted by CVE-2025-33042?

Anyone using the affected versions of Apache Avro Java SDK for generating records from untrusted Avro schemas is impacted by CVE-2025-33042.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203