CVE-2022-31782 json
ftbench.c in FreeType Demo Programs through 2.12.1 has a heap-based buffer overflow.
published 2022-05-27 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-53174
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
ftbench.c in FreeType Demo Programs through 2.12.1 has a heap-based buffer overflow.
Patch / fix
- freetype Debian 14, Debian 13, Debian 12 2.12.1+dfsg-3
debian advisories DEBIAN-CVE-2022-31782
- freetype Ubuntu 18.04 LTS 2.8.1-2ubuntu2.2
- freetype Ubuntu 20.04 LTS 2.10.1-2ubuntu0.2
- freetype Ubuntu 22.04 LTS 2.11.1+dfsg-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2022-31782
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
gitlab.freedesktop.org
/freetype/freetype-demos/-/issues/8
third-party-advisory
Sources
- CVE List CVE-2022-31782
- NVD CVE-2022-31782
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.