# OSV-2024-1212: Heap-buffer-overflow in cram_encode_container

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-10-11T00:16:27.350Z
- Modified: 2024-10-11T00:16:27.350Z

## Description

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

```
Crash type: Heap-buffer-overflow READ 8
Crash state:
cram_encode_container
cram_flush_container_mt
cram_put_bam_seq
```

(As written by OSS-Fuzz.)

## Affected

- htslib (OSS-Fuzz): from e0d19561ab1dfc011d9ecb4acf135a7b877f9951 before 4c1acb8f31a64c07f4a8f8fb07c087bc67e766a7

## References

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

## Sources

- OSS-Fuzz: [OSV-2024-1212](https://osv.dev/vulnerability/OSV-2024-1212), CC-BY-4.0, modified 2024-10-11

---

Page: https://cve.day/OSV-2024-1212 · Whole record: https://cve.day/OSV-2024-1212.json · Rebuilt by cve.day 2026-11-25T22:56:19.028Z
