# OSV-2021-1229: Heap-buffer-overflow in flatbuffers::JsonPrinter::GenFieldOffset

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-09-12T00:00:09.534Z
- Modified: 2022-04-13T03:04:42.073Z

## Description

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

```
Crash type: Heap-buffer-overflow READ 4
Crash state:
flatbuffers::JsonPrinter::GenFieldOffset
flatbuffers::JsonPrinter::GenStruct
flatbuffers::GenerateText
```

(As written by OSS-Fuzz.)

## Affected

- flatbuffers (OSS-Fuzz): from 8fb8c2ce1dff00bc1455aba0770eb7eae9a06ece before 0fadaf391d55aac675e6cff122c83bf52eeabc2a

## References

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

## Sources

- OSS-Fuzz: [OSV-2021-1229](https://osv.dev/vulnerability/OSV-2021-1229), CC-BY-4.0, modified 2022-04-13

---

Page: https://cve.day/OSV-2021-1229 · Whole record: https://cve.day/OSV-2021-1229.json · Rebuilt by cve.day 2026-11-25T22:56:18.653Z
