Skip to main content
CVE-2025-6566VulnerabilityPublished

CVE-2025-6566: oatpp Oat++ · Stack-based Buffer Overflow

Affects oatpp Oat++Source CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHuboatpp/oatpppkg:github/oatpp/oatppOther threatsAffected
  • =1.3.0
  • =1.3.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Immediate upgrade: Organizations should upgrade to a patched version of Oat++ once available. 2. Input sanitization: Implement strict validation and sanitization of JSON inputs before they reach the deserializeArray function to prevent malformed or malicious payloads. 3. Runtime protections: Employ compiler-level security features such as stack canaries, Address Space Layout Randomization (ASLR), and Control Flow Integrity (CFI) to mitigate exploitation impact. 4. Network controls: Restrict access to services using Oat++ to trusted networks or VPNs, and deploy Web Application Firewalls (WAFs) with custom rules to detect and block suspicious JSON payloads targeting deserialization. 5. Monitoring and detection: Enable detailed logging and monitor for anomalous behavior or crashes related to JSON deserialization. Use intrusion detection systems to identify potential exploitation attempts. 6. Code review and testing: Conduct thorough security reviews and fuzz testing of deserialization code paths to identify and remediate similar vulnerabilities proactively. 7. Incident response readiness: Prepare response plans for potential exploitation scenarios, including isolating affected systems and forensic analysis.

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.

References

Community reviews

Loading reviews…