# OSV-2021-859: Heap-buffer-overflow in FSE_writeNCount_generic

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

## Description

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

```
Crash type: Heap-buffer-overflow WRITE 1
Crash state:
FSE_writeNCount_generic
FSE_writeNCount
HUF_compressWeights
```

(As written by OSS-Fuzz.)

## Affected

- zstd (OSS-Fuzz): from 939276cd0c8f6f5b6eede93bb4db3779742ca778 before 05b6773fbcce1075edbe498a821f9a41249cf384

## References

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

## Sources

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

---

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