# OSV-2021-374: Heap-buffer-overflow in BEInt<unsigned short, 2>::operator unsigned short

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

## Description

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

```
Crash type: Heap-buffer-overflow READ 2
Crash state:
BEInt<unsigned short, 2>::operator unsigned short
OT::IntType<unsigned short, 2u>::operator unsigned int
OT::AnchorMatrix::subset
```

(As written by OSS-Fuzz.)

## Affected

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

## References

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

## Sources

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

---

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