Apache Avro Java SDK: Code injection on Java generated code
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 2 fixed, 14 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Avro Java SDK | up to 1.11.4; 1.12.0 | — | No fix listed | CNA |
| — | org.apache.avro:avro-compiler (Maven) | 1.12.0 to before 1.12.1 | 1.12.1 | Patch available | GHSA-rp46-r563-jrc7 |
| — | org.apache.avro:avro-compiler (Maven) | before 1.11.5 | 1.11.5 | Patch available | GHSA-rp46-r563-jrc7 |
- Apache Avro Java SDK VendorApache Affected up to 1.11.4; 1.12.0 Fixed in — No fix listed CNA
- org.apache.avro:avro-compiler (Maven) Vendor— Affected 1.12.0 to before 1.12.1 Fixed in 1.12.1 Patch available GHSA-rp46-r563-jrc7
- org.apache.avro:avro-compiler (Maven) Vendor— Affected before 1.11.5 Fixed in 1.11.5 Patch available GHSA-rp46-r563-jrc7
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:avro:*:*:*:*:*:-:*:* | before 1.11.5 | Vulnerable | Apache |
| cpe:2.3:a:apache:avro:1.12.0:-:*:*:*:-:*:* | 1.12.0 | Vulnerable | Apache |
| cpe:2.3:a:apache:avro:1.12.0:rc0:*:*:*:-:*:* | 1.12.0 rc0 | Vulnerable | Apache |
| cpe:2.3:a:apache:avro:1.12.0:rc1:*:*:*:-:*:* | 1.12.0 rc1 | Vulnerable | Apache |
- cpe:2.3:a:apache:avro:*:*:*:*:*:-:*:* Versions before 1.11.5 Vulnerable ·Apache
- cpe:2.3:a:apache:avro:1.12.0:-:*:*:*:-:*:* Versions 1.12.0 Vulnerable ·Apache
- cpe:2.3:a:apache:avro:1.12.0:rc0:*:*:*:-:*:* Versions 1.12.0 rc0 Vulnerable ·Apache
- cpe:2.3:a:apache:avro:1.12.0:rc1:*:*:*:-:*:* Versions 1.12.0 rc1 Vulnerable ·Apache
Remediation
- Fix · GHSA-rp46-r563-jrc7 org.apache.avro:avro-compiler (Maven) Fixed in 1.12.1 Advisory →
- Fix · GHSA-rp46-r563-jrc7 org.apache.avro:avro-compiler (Maven) Fixed in 1.11.5 Advisory →
Red Hat 2 advisories
- RHSA-2026:7109 Released 2026-04-14 · Red Hat rating ImportantRed Hat build of Quarkus 3.20.6 release and security update
- Red Hat build of Quarkus 3.20.6.redhat io.netty.netty-codec-http-4.1.132.Final-redhat-00001.jar, io.netty.netty-codec-http2-4.1.132.Final-redhat-00001.jar, io.vertx.vertx-core-4.5.26.redhat-00001.jar +2
- RHSA-2026:7380 Released 2026-04-14 · Red Hat rating ImportantRed Hat build of Quarkus 3.27.3 release and security update
- Red Hat build of Quarkus 3.27.3.redhat io.netty.netty-codec-http-4.1.132.Final-redhat-00001.jar, io.netty.netty-codec-http2-4.1.132.Final-redhat-00001.jar, io.vertx.vertx-core-4.5.26.redhat-00001.jar +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Data Grid 8 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 8 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Affected | No fix yet: Fix deferred |
| Red Hat Single Sign-On 7 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel 4 for Quarkus 3 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apicurio Registry 2 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apicurio Registry 3 | Affected | No fix yet: Fix deferred |
| Red Hat build of Debezium 2 | Affected | No fix yet: Fix deferred |
| Red Hat build of Debezium 3 | Affected | No fix yet: Fix deferred |
| streams for Apache Kafka 2 | Affected | No fix yet: Fix deferred |
| streams for Apache Kafka 3 | Affected | No fix yet: Fix deferred |
| Red Hat build of Quarkus 3.20.6.redhat | Fixed | RHSA-2026:7109 |
| Red Hat build of Quarkus 3.27.3.redhat | Fixed | RHSA-2026:7380 |
Not affected: 2 products
- Red Hat build of Quarkus 3.20.6.redhat
- Red Hat build of Quarkus 3.27.3.redhat
Timeline
- 2026-10-02 Threatist record created from CVE-2025-33042
- 2026-10-03 Alias added: GHSA-rp46-r563-jrc7
- 2026-10-11 EPSS moved to the 50th–90th percentile
- 2026-10-20 Fix available: Red Hat build of Quarkus 3.20.6.redhat, Red Hat build of Quarkus 3.27.3.redhat · Red Hat
References
Advisory 3
More Apache Avro vulnerabilities
- TI-2024-31848 Apache Avro Java SDK: Arbitrary Code Execution when reading Avro schema (Java SDK) CVSS 4.0CRITICAL 9.2
- TI-2023-20549 Apache Avro Java SDK: Memory when deserializing untrusted data in Avro Java SDK CVSS 3.1HIGH 7.5
- TI-2022-16548 Integer overflow when reading corrupted .avro file in Avro Rust SDK CVSS 3.1HIGH 7.5
- TI-2022-16547 Memory overconsumption in Avro Rust SDK CVSS 3.1HIGH 7.5
- TI-2021-19111 Possible DOS vulnerabilities in C# Avro SDK CVSS 3.1HIGH 7.5
- TI-2022-16171 Denial of service while reading data in Avro Rust SDK CVSS 3.1HIGH 7.5
Sources
- CVE-2025-33042 · CVE Program
- CVE-2025-33042 · NVD
- FIRST EPSS
- GHSA-rp46-r563-jrc7 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-33042 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences