# OSV-2025-7: Heap-buffer-overflow in oatpp::json::Utils::escapeUtf8Char

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-01-07T00:03:42.053Z
- Modified: 2025-01-07T00:03:42.054Z

## Description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=387626404

```
Crash type: Heap-buffer-overflow WRITE 1
Crash state:
oatpp::json::Utils::escapeUtf8Char
oatpp::json::Utils::escapeString
oatpp::json::Serializer::serializeString
```

(As written by OSS-Fuzz.)

## Affected

- oatpp (OSS-Fuzz): from d48d9e34ae2849c2ed9cfbb1eaf480435578ba86 before d1b868b77ac3b1249db760d037fccbe263bac6d7

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=387626404> (report)

## Sources

- OSS-Fuzz: [OSV-2025-7](https://osv.dev/vulnerability/OSV-2025-7), CC-BY-4.0, modified 2025-01-07

---

Page: https://cve.day/OSV-2025-7 · Whole record: https://cve.day/OSV-2025-7.json · Rebuilt by cve.day 2026-11-25T22:56:19.124Z
