CRITICAL 9.8

CVE-2026-71253

Apache Johnzon: ClassConverter loads & static-initializes an attacker-named class from untrusted JSON

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in Apache Johnzon.

ClassConverter loads & static-initializes an attacker-named class from untrusted JSON.

This issue affects Apache Johnzon: from 1.0.0 before 2.2.0.

Users are recommended to upgrade to version 1.3.1 (javax namespace) or 2.2.0 (jakarta specification namespace), which fixes the issue.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.johnzon » johnzon-mapperpreliminary
>= 1.0.0, < 1.3.1>= 2.0.0, < 2.2.0
1.3.1, 2.2.0

Blast radius

1affected artifacts
45affected versions
559dependent artifacts (est.)
9,906dependent versions

24% of the dependent artifacts (139) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,131
2 hops
2,683
3 hops
3,091
4 hops
1,556
5 hops
855
6 hops
590

Most used dependents

Computed from the dependency graph of build 20261124.0621 (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.

References

Advisorygithub.com
Advisorylists.apache.org
Advisorynvd.nist.gov
Fixgithub.com
Fixgithub.com
Webrepo.maven.apache.org