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

- Severity: High 7.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-02-13T11:47:03.783Z
- Modified: 2026-09-10T03:50:35.786Z
- Also known as: GHSA-rp46-r563-jrc7, PYSEC-2026-26
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.avro:avro: up to 1.11.4; 1.12.0
- org.apache.avro:avro-compiler (Maven): from 1.12.0 before 1.12.1; before 1.11.5
- apache avro: before 1.11.5; 1.12.0
- avro (PyPI): before 1.11.5

## Every score

- CISA-ADP: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://lists.apache.org/thread/fy88wmgf1lj9479vrpt12cv8x73lroj1> (issue-tracking, mailing-list, report, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/02/12/2> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-33042> (advisory)
- <https://github.com/apache/avro/pull/3150> (web)
- <https://github.com/apache/avro/commit/84bc7322ca1c04ab4a8e4e708acf1e271541aac4> (web)
- <https://github.com/apache/avro> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/avro/PYSEC-2026-26.yaml> (web)
- <https://issues.apache.org/jira/browse/AVRO-4053> (web)
- <https://security.snyk.io/vuln/SNYK-JAVA-ORGAPACHEAVRO-15282783> (web)

## Sources

- CVE List: [CVE-2025-33042](https://www.cve.org/CVERecord?id=CVE-2025-33042), CVE Terms of Use, modified 2026-02-13
- GitHub Advisory Database: [GHSA-rp46-r563-jrc7](https://github.com/advisories/GHSA-rp46-r563-jrc7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-33042](https://nvd.nist.gov/vuln/detail/CVE-2025-33042), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-26](https://osv.dev/vulnerability/PYSEC-2026-26), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2025-33042 · Whole record: https://cve.day/CVE-2025-33042.json · Rebuilt by cve.day 2026-11-25T22:59:11.172Z
