# OSV-2021-12: Heap-buffer-overflow in read_bits_16

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

## Description

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

```
Crash type: Heap-buffer-overflow READ 1
Crash state:
read_bits_16
decode_number
do_uncompress_block
```

(As written by OSS-Fuzz.)

## Affected

- libarchive (OSS-Fuzz): from 840266712006de5e737f8052db920dfea2be4260 before 858fa8eaa9435340d2bda988715e0d9023089bec; before 56c920eab3352f7877ee0cf9e472c1ab376c7e3e

## References

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

## Sources

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

---

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