# OSV-2021-229: Heap-buffer-overflow in cram_xpack_decode_init

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

## Description

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

```
Crash type: Heap-buffer-overflow WRITE 4
Crash state:
cram_xpack_decode_init
cram_decoder_init
cram_decode_compression_header
```

(As written by OSS-Fuzz.)

## Affected

- htslib (OSS-Fuzz): from 96c64aa1f56fdb724565d7a56798515d27cbb1f9 before 40afaaa5bf7e3f9cd6d6d9d9d8ae26496df82aea

## References

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

## Sources

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

---

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