Vulnerabilities in pkg:maven/org.jsonschema2pojo/jsonschema2pojo-core
PACKAGECVE-2025-3588 is a MODERATE (CVSS 5.3) jsonschema2pojo has improper restriction of vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Jsonschema2pojo core libraries in the Maven ecosystem. The issue involves jsonschema2pojo has improper restriction of operations within the bounds of a memory buffer. Remediation is available in the latest vendor maintenance releases.
pkg:maven/org.jsonschema2pojo/jsonschema2pojo-core
Vulnerability advisories affecting package pkg:maven/org.jsonschema2pojo/jsonschema2pojo-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-66rc-vg9f-48m7 | CVE-2025-3588 | MODERATE | jsonschema2pojo has Improper Restriction of Operations within the Bounds of a Memory Buffer |
CVE-2025-3588 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2025-3588
To remediate this vulnerability, upgrade all affected Jsonschema2pojo core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-core</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.jsonschema2pojo
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-3588, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jsonschema2pojo
Analyze the terminal output to locate any version of Jsonschema2pojo core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jsonschema2pojo command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In Jsonschema2pojo core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-3588 Affected Jsonschema2pojo core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jsonschema2pojo:jsonschema2pojo-core
|
Maven |
≤ 1.2.2
|
|
References
Frequently Asked Questions
What is CVE-2025-3588?
Which Jsonschema2pojo core versions are affected?
What version fixes CVE-2025-3588?
Is jsonschema2pojo-core affected?
What is the CVSS score of CVE-2025-3588?
What CWE is associated with CVE-2025-3588?
How can I check Maven dependencies for CVE-2025-3588?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-66rc-vg9f-48m7",
"modified" : "2025-04-14T22:59:04Z",
"published" : "2025-04-14T21:32:24Z",
"aliases" : [ "CVE-2025-3588" ],
"summary" : "jsonschema2pojo has Improper Restriction of Operations within the Bounds of a Memory Buffer",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jsonschema2pojo:jsonschema2pojo-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-3588"
}, {
"type" : "WEB",
"url" : "https://github.com/joelittlejohn/jsonschema2pojo/issues/1672"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/joelittlejohn/jsonschema2pojo"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.304643"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.304643"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.550136"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-119" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-14T22:59:04Z",
"nvd_published_at" : "2025-04-14T21:15:18Z"
}
}