# OSV-2021-1246: 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-09-13T00:00:35.678Z
- Modified: 2022-04-13T03:04:31.669Z

## Description

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

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

(As written by OSS-Fuzz.)

## Affected

- zstd (OSS-Fuzz): from 64054dec442a99e4c065be1319202e18bd4b8d8a before 14772d97be90af6a027adb6008c32ec21470c270; before 044c8b47224d7cfbbd57317906e91f2db5b30994

## References

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

## Sources

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

---

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