{"schemaVersion":3,"id":"CVE-2022-31782","aliases":["MGASA-2022-0297","UBUNTU-CVE-2022-31782","DEBIAN-CVE-2022-31782"],"status":"published","duplicateOf":null,"title":null,"description":"ftbench.c in FreeType Demo Programs through 2.12.1 has a heap-based buffer overflow.","dates":{"published":"2022-05-27T21:10:35.000Z","modified":"2024-08-03T07:26:01.196Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00768,"percentile":0.54842,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.029999999999999992,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00738},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00768,"percentile":0.54842}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00738,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00757,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00768,"percentile":0.54842}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"freetype","name":"freetype","label":"freetype","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/freetype","purlType":"deb","versions":[{"text":"< 2.12.1+dfsg-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.12.1+dfsg-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"freetype","name":"freetype","label":"freetype","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/freetype","purlType":"deb","versions":[{"text":"< 2.8.1-2ubuntu2.2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.10.1-2ubuntu0.2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.11.1+dfsg-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.1-2ubuntu2.2 | < 2.10.1-2ubuntu0.2 | < 2.11.1+dfsg-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"freedesktop","product":"freetype_demo_programs","name":"freetype demo programs","label":"freetype_demo_programs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.12.1","eol":null,"hubHref":"/vendor/freedesktop/freetype_demo_programs"},{"vendor":"mageia","product":"freetype2","name":"freetype2","label":"freetype2","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/freetype2","purlType":"rpm","versions":[{"text":"< 2.10.4-2.2.mga8","noFixRecorded":false,"fixedIn":null},{"text":"< 2.10.4-2.2.mga8.tainted","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.10.4-2.2.mga8 | < 2.10.4-2.2.mga8.tainted","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gitlab.freedesktop.org/freetype/freetype-demos/-/issues/8","label":"gitlab.freedesktop.org/freetype/freetype-demos/-/issues/8","hostname":"gitlab.freedesktop.org","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0297.html","label":"advisories.mageia.org/MGASA-2022-0297.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30659","label":"bugs.mageia.org/show_bug.cgi?id=30659","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5528-1","label":"ubuntu.com/security/notices/USN-5528-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-31782","label":"ubuntu.com/security/CVE-2022-31782","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31782","label":"www.cve.org/CVERecord?id=CVE-2022-31782","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-31782","label":"security-tracker.debian.org/tracker/CVE-2022-31782","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-5528-1"],"duplicates":[],"related":["USN-5528-1"]},"timeline":[{"kind":"published","date":"2022-05-27T21:10:35.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T07:26:01.196Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:44:50.541Z","stale":false,"partial":false}}