CVE-2025-3588
jsonschema2pojo has Improper Restriction of Operations within the Bounds of a Memory Buffer
Description
A vulnerability, which was classified as problematic, has been found in joelittlejohn jsonschema2pojo 1.2.2. This issue affects the function apply of the file org/jsonschema2pojo/rules/SchemaRule.java of the component JSON File Handler. The manipulation leads to stack-based buffer overflow. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jsonschema2pojo » jsonschema2pojo-core | <= 1.2.2 | - |
Blast radius
71% of the dependent artifacts (805) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,619 |
| 2 hops | 2,382 |
| 3 hops | 2,350 |
| 4 hops | 7,556 |
| 5 hops | 34,112 |
| 6 hops | 120,161 |
Most used dependents
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.hive » hive-exec699 usages
- org.apache.spark » spark-streaming670 usages
- org.apache.spark » spark-hive633 usages
- org.apache.spark » spark-catalyst502 usages
- org.apache.hive » hive-metastore480 usages
- org.apache.hadoop » hadoop-minicluster475 usages
- org.apache.hive » hive-jdbc404 usages
- org.jsonschema2pojo » jsonschema2pojo-maven-plugin334 usages
- org.apache.hive » hive-common305 usages
- org.apache.hive » hive-service301 usages
- org.apache.hbase » hbase-testing-util288 usages
- org.apache.hive » hive-serde206 usages
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
| Advisory | NVD CVE-2025-3588 | nvd.nist.gov |
| Package | joelittlejohn/jsonschema2pojo | github.com |
| Web | joelittlejohn/jsonschema2pojo issue #1672 | github.com |
| Web | vuldb.com | vuldb.com |
| Web | vuldb.com | vuldb.com |
| Web | vuldb.com | vuldb.com |
