# OSV-2021-396: Heap-buffer-overflow in OT::OffsetTo<OT::Anchor, OT::IntType<unsigned short, 2u>, true>* hb_serialize_co

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

## Description

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

```
Crash type: Heap-buffer-overflow READ 2
Crash state:
OT::OffsetTo<OT::Anchor, OT::IntType<unsigned short, 2u>, true>* hb_serialize_co
OT::OffsetTo<OT::Anchor, OT::IntType<unsigned short, 2u>, true>* hb_serialize_co
bool OT::AnchorMatrix::serialize<hb_filter_iter_t<hb_range_iter_t<unsigned int, 
```

(As written by OSS-Fuzz.)

## Affected

- harfbuzz (OSS-Fuzz): from c7d232ce4e8eccdeaf8fc4bb4b73818b581d3fb9 before 5ca353a2d026f655af61ae159adcaeace1fdb09c

## References

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

## Sources

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

---

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