Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-31782

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-31782
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:53 UTC · Revision 1

Source evidence

CVE-2022-31782

core-osv · Original source

Published 27 May 2022, 21:10 UTC

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

osv:CVE-2022-31782
Complete source record
{
  "id": "6f2a8711625eba2ccb510bebac2acee966fe8367d7b0c9b7105b2c9d6074b7a4",
  "url": "https://osv.dev/vulnerability/CVE-2022-31782",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-31782",
    "summary": "ftbench.c in FreeType Demo Programs through 2.12.1 has a heap-based buffer overflow.",
    "evidence": "osv:CVE-2022-31782",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-31782",
      "aliases": [
        "CVE-2022-31782"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.freedesktop.org/freetype/freetype-demos",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "402927d569c39f69b4f26b42f4e16208878a712e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.12.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:freedesktop:freetype_demo_programs:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.12.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "VER-2-12-1",
            "VER-2-12-0",
            "VER-2-11-1",
            "VER-2-11-0",
            "VER-2-10-4",
            "VER-2-10-3",
            "VER-2-10-2",
            "VER-2-10-1",
            "VER-2-10-0",
            "VER-2-9-1",
            "VER-2-9",
            "VER-2-8-1",
            "VER-2-8",
            "VER-2-7-1",
            "VER-2-7",
            "VER-2-6-5",
            "VER-2-6-4",
            "VER-2-6-3",
            "VER-2-6-2",
            "VER-2-6-1",
            "VER-2-6",
            "VER-2-5-5",
            "VER-2-5-4",
            "VER-2-5-3",
            "VER-2-5-2",
            "VER-2-5-1",
            "VER-2-5-0",
            "VER-2-4-12",
            "VER-2-4-12-beta",
            "VER-2-4-11",
            "VER-2-4-10",
            "VER-2-4-9",
            "VER-2-4-8",
            "VER-2-4-7",
            "VER-2-4-6",
            "VER-2-4-5",
            "VER-2-4-4",
            "VER-2-4-3",
            "VER-2-4-2",
            "VER-2-4-1",
            "VER-2-4-0",
            "VER-2-3-12",
            "VER-2-3-11",
            "VER-2-3-10",
            "VER-2-3-9",
            "VER-2-3-8",
            "VER-2-3-7",
            "VER-2-3-6",
            "VER-2-3-5-REAL",
            "VER-2-3-5",
            "VER-2-3-4",
            "VER-2-3-3",
            "VER-2-3-2",
            "VER-2-3-1-FINAL",
            "VER-2-3-0-FINAL",
            "VER-2-2-1",
            "VER-2-2-0",
            "VER-2-1-10",
            "VER-2-1-9",
            "VER-2-1-8",
            "VER-2-1-7",
            "VER-2-1-6",
            "VER-2-1-5",
            "VER-2-1-4",
            "VER-2-1-3",
            "VER-2-1-3-RC3",
            "VER-2-1-3-RC2",
            "VER-2-1-2",
            "VER-2-1-1",
            "VER-2-1-0",
            "VER-2-0-9",
            "VER-2-0-8",
            "VER-2-0-7",
            "VER-2-0-6",
            "VER-2-0-5",
            "VER-2-0-4",
            "VER-2-0-3",
            "VER-2-0-2",
            "VER-2-0-2-TEST",
            "VER-2-0-1",
            "RELEASE-2-0",
            "BETA-8",
            "DEMOS-0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31782.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.333882106Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31782.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-31782",
        "https://gitlab.freedesktop.org/freetype/freetype-demos/-/issues/8"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31782.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-31782",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 494696,
  "published_at": "2022-05-27T21:10:35+00:00"
}