# OSV-2021-242: Heap-buffer-overflow in rans_uncompress_to_4x16

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-01-26T23:45:33.235Z
- Modified: 2022-04-13T03:04:32.338Z

## Description

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

```
Crash type: Heap-buffer-overflow READ 1
Crash state:
rans_uncompress_to_4x16
rans_decode
uncompress
```

(As written by OSS-Fuzz.)

## Affected

- htslib (OSS-Fuzz): from 0d1971cbebb269d90a563464e4f56987290e20ab before 9d9e60c83487a8ac4644079e9636e34a9dd4bb08; before b8dcbd12b2c535fb792a5dfb275e875b626e929d

## References

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

## Sources

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

---

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