# CVE-2022-31782

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-05-27 · Modified: 2024-08-03
- Aliases: MGASA-2022-0297, UBUNTU-CVE-2022-31782, DEBIAN-CVE-2022-31782
- Record: https://cvemate.com/vulnerability/CVE-2022-31782 · JSON: https://cvemate.com/vulnerability/CVE-2022-31782/json

## Description

```text
ftbench.c in FreeType Demo Programs through 2.12.1 has a heap-based buffer overflow.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.801%, percentile 57.948%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian freetype (Debian): \< 2.12.1+dfsg-3
- ubuntu freetype (Ubuntu): \< 2.8.1-2ubuntu2.2 \| \< 2.10.1-2ubuntu0.2 \| \< 2.11.1+dfsg-1ubuntu0.1
- freedesktop freetype\_demo\_programs: ≤ 2.12.1
- mageia freetype2 (Mageia): \< 2.10.4-2.2.mga8 \| \< 2.10.4-2.2.mga8.tainted

## References

- <https://gitlab.freedesktop.org/freetype/freetype-demos/-/issues/8>
- <https://advisories.mageia.org/MGASA-2022-0297.html>
- <https://bugs.mageia.org/show_bug.cgi?id=30659>
- <https://ubuntu.com/security/notices/USN-5528-1>
- <https://ubuntu.com/security/CVE-2022-31782>
- <https://www.cve.org/CVERecord?id=CVE-2022-31782>
- <https://security-tracker.debian.org/tracker/CVE-2022-31782>

---

Data as of 2026-12-05T06:32:58.627Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
