CVE-2025-33042
Apache Avro Java SDK is Vulnerable to Code Injection
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.avro » avro-compiler | < 1.11.5>= 1.12.0, < 1.12.1 | 1.11.5, 1.12.1 |
Blast radius
55% of the dependent artifacts (239) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 9,223 |
| 2 hops | 22,270 |
| 3 hops | 12,842 |
| 4 hops | 1,094 |
| 5 hops | 370 |
| 6 hops | 202 |
Most used dependents
- org.apache.avro » avro-maven-plugin392 usages
- org.springframework.cloud » spring-cloud-starter-stream-kafka280 usages
- org.springframework.cloud » spring-cloud-stream-binder-kafka174 usages
- org.springframework.integration » spring-integration-kafka152 usages
- com.spotify » scio-core50 usages
- org.apache.gobblin » gobblin-utility42 usages
- com.spotify » scio-test42 usages
- org.springframework.cloud » spring-cloud-starter-bus-kafka41 usages
- org.apache.gobblin » gobblin-runtime33 usages
- org.apache.gobblin » gobblin-metrics30 usages
- org.apache.gobblin » gobblin-core29 usages
- org.apache.avro » avro-tools21 usages
- org.apache.gobblin » gobblin-metastore20 usages
- org.apache.gobblin » gobblin-core-base19 usages
- org.apache.gobblin » gobblin-test-utils18 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects PyPI (1 package) . See all on OSV
References
| Advisory | NVD CVE-2025-33042 | nvd.nist.gov |
| Package | apache/avro | github.com |
| Web | apache/avro pull request #3150 | github.com |
| Web | apache/avro commit 84bc732 | github.com |
| Web | pypa/advisory-database PYSEC-2026-26.yaml | github.com |
| Web | jira/browse/AVRO-4053 | issues.apache.org |
| Web | thread/fy88wmgf1lj9479vrpt12cv8x73lroj1 | lists.apache.org |
| Web | vuln/SNYK-JAVA-ORGAPACHEAVRO-15282783 | security.snyk.io |
| Web | lists/oss-security/2026/02/12/2 | openwall.com |
