# OSV-2021-222: Heap-buffer-overflow in arith_uncompress_to

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-01-23T00:01:01.932Z
- Modified: 2022-04-13T03:04:32.296Z

## Description

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

```
Crash type: Heap-buffer-overflow READ 1
Crash state:
arith_uncompress_to
cram_uncompress_block
cram_read_SAM_hdr
```

(As written by OSS-Fuzz.)

## Affected

- htslib (OSS-Fuzz): from 0d1971cbebb269d90a563464e4f56987290e20ab before a01a139ac1fa365a688ec8734d62ef859a8bc416; before 90fef7300c75ca6b8834da0dcb710e27d599324e

## References

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

## Sources

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

---

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