CVE-2025-3588 joelittlejohn jsonschema2pojo JSON File SchemaRule.java apply stack-based overflow

Medium 4.8 Published Updated

A local attacker can trigger a stack-based buffer overflow in jsonschema2pojo via a crafted JSON file, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-3588?

CVE-2025-3588 is a medium-severity memory corruption vulnerability in joelittlejohn jsonschema2pojo, published on 14 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2025-3588?

2 open source packages ship an affected version, including org.jsonschema2pojo:jsonschema2pojo-core.

PackageAffectedFixed in
org.jsonschema2pojo:jsonschema2pojo-core MavenAll versions to 1.2.2None
org.jsonschema2pojo:jsonschema2pojo-core MavenAll versions to 1.2.2None

How do I fix CVE-2025-3588?

No fix published yet.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-3588 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3588 exists.

Sources

Also known as CLEANSTART-2026-CP28423, GHSA-66rc-vg9f-48m7.

Is CVE-2025-3588 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free