# OSV-2021-305: Heap-buffer-overflow in rle_decode

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

## Description

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

```
Crash type: Heap-buffer-overflow WRITE {*}
Crash state:
rle_decode
rans_uncompress_to_4x16
rans_uncompress_4x16
```

(As written by OSS-Fuzz.)

## Affected

- htslib (OSS-Fuzz): from 0d1971cbebb269d90a563464e4f56987290e20ab before 56ac133b2fd4b41b2f05f8a3f30134fd79f7b31f

## References

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

## Sources

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

---

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