Apache Avro Java SDK is Vulnerable to Code Injection
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
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.avro:avro-compiler | >= 1.12.0, < 1.12.1, < 1.11.5 | 1.12.1, 1.11.5 |
| Python (PyPI) | avro | < 1.11.5 | 1.11.5 |
References
- http://www.openwall.com/lists/oss-security/2026/02/12/2
- https://lists.apache.org/thread/fy88wmgf1lj9479vrpt12cv8x73lroj1
- https://nvd.nist.gov/vuln/detail/CVE-2025-33042
- https://github.com/apache/avro/pull/3150
- https://github.com/apache/avro/commit/84bc7322ca1c04ab4a8e4e708acf1e271541aac4
- https://github.com/apache/avro
- https://github.com/pypa/advisory-database/tree/main/vulns/avro/PYSEC-2026-26.yaml
- https://issues.apache.org/jira/browse/AVRO-4053
- https://security.snyk.io/vuln/SNYK-JAVA-ORGAPACHEAVRO-15282783
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-94- Platform
- Java / Kotlin (Maven), Python (PyPI)
- Package
org.apache.avro:avro-compiler, avro- Disclosed
- 13.02.2026
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-26 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-rp46-r563-jrc7 - CC BY 4.0
Vulnerability history: avro
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 08.2022 02.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 1
Disclosures per year
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 1
-
Apache Avro Java SDK is Vulnerable to Code Injection this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.