Arbitrary Code Injection Affecting org.apache.avro:avro-compiler package, versions [,1.11.5)[1.12.0,1.12.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEAVRO-15282783
  • published15 Feb 2026
  • disclosed13 Feb 2026
  • creditBrant Eckert

Introduced: 13 Feb 2026

CVE-2025-33042  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.apache.avro:avro-compiler to version 1.11.5, 1.12.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection in the SpecificCompiler class, when handling untrusted Avro schemas. An attacker can execute code by supplying a malicious schema with commands injected in doc comment values, which can be executed during compilation.

CVSS Base Scores

version 4.0
version 3.1