CVE-2025-59398 Denial of service in libocpp

Low 3.1 Published Updated

An attacker can crash the EVerest application by sending JSON input exceeding 255 characters to the libocpp library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-59398?

CVE-2025-59398 is a low-severity denial of service vulnerability in EVerest libocpp, published on 15 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The OCPP implementation in libocpp before 0.26.2 allows a denial of service (EVerest crash) via JSON input larger than 255 characters, because a CiString<255> object is created with StringTooLarge set to Throw.

Weakness: CWE-392

Which versions are affected by CVE-2025-59398?

How do I fix CVE-2025-59398?

No fix has been published for CVE-2025-59398 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-59398 being exploited?

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

Sources

Also known as GHSA-9j3x-w929-5ch3.

Is CVE-2025-59398 in your software?

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

Check your SBOMs for free