# OSV-2021-31: Heap-buffer-overflow in TTF::be_u16

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

## Description

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

```
Crash type: Heap-buffer-overflow READ 1
Crash state:
TTF::be_u16
TTF::Font::load_from_offset
TTF::Font::load_from_memory
```

(As written by OSS-Fuzz.)

## Affected

- serenity (OSS-Fuzz): from 5dfcecd2443ff2a9d491fe55033520613b8aea93 before feb66564d2bc0f78916c214f01aaa02e63e44afb

## References

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

## Sources

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

---

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