CVE-2025-6566 oatpp Oat++ Deserializer.cpp deserializeArray stack-based overflow
A stack-based buffer overflow in the oatpp library's JSON deserializer allows remote attackers to execute arbitrary code or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-6566?
CVE-2025-6566 is a medium-severity memory corruption vulnerability in oatpp Oat++, published on 24 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in oatpp Oat++ up to 1.3.1. It has been declared as critical. This vulnerability affects the function deserializeArray of the file src/oatpp/json/Deserializer.cpp. The manipulation leads to stack-based buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-6566?
It affects 1 product.
Products include Oatpp Oat\+\+.
How do I fix CVE-2025-6566?
No fix has been published for CVE-2025-6566 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-6566 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6566 exists.
Sources
Also known as GHSA-7c5x-vxj3-93v9.