# OSV-2021-821: Stack-buffer-overflow in jsoncons::bson::decimal128_to_chars

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

## Description

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

```
Crash type: Stack-buffer-overflow WRITE 6
Crash state:
jsoncons::bson::decimal128_to_chars
jsoncons::bson::basic_bson_parser<jsoncons::binary_stream_source, std::__1::allo
jsoncons::bson::basic_bson_parser<jsoncons::binary_stream_source, std::__1::allo
```

(As written by OSS-Fuzz.)

## Affected

- jsoncons (OSS-Fuzz): from 81b6db5c5a176a1fedacaf18b78c6d9f5db5b202 before cebedbefd441489cdf6a33d238ed3e3ed7be9958

## References

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

## Sources

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

---

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