Stack-based Buffer Overflow Affecting org.jsonschema2pojo:jsonschema2pojo-core package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (3rd 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 IDSNYK-JAVA-ORGJSONSCHEMA2POJO-10074189
  • published12 May 2025
  • disclosed14 Apr 2025
  • creditUnknown

Introduced: 14 Apr 2025

CVE-2025-3588  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

There is no fixed version for org.jsonschema2pojo:jsonschema2pojo-core.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow through the apply function in org/jsonschema2pojo/rules/SchemaRule.java. An attacker can execute arbitrary code or cause denial of service by manipulating the JSON file input to trigger a stack-based buffer overflow. This is only exploitable if the attacker has local access to the system.

Note: This vulnerability has not been verified by the project maintainers, and the advisory may be changed in the future to reflect new developments in its analysis.

References

CVSS Base Scores

version 4.0
version 3.1