{"schemaVersion":3,"id":"CVE-2022-27470","aliases":["UBUNTU-CVE-2022-27470","DEBIAN-CVE-2022-27470"],"status":"published","duplicateOf":null,"title":null,"description":"SDL_ttf v2.0.18 and below was discovered to contain an arbitrary memory write via the function TTF_RenderText_Solid(). This vulnerability is triggered via a crafted TTF file.","dates":{"published":"2022-05-04T02:34:44.000Z","modified":"2024-08-03T05:25:32.705Z","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.00989,"percentile":0.61848,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.01499999999999991,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00974},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00989,"percentile":0.61848}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00974,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00989,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00989,"percentile":0.61848}]},"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":[{"id":"GITHUB_LIBSDL-ORG_SDL_TTF","name":"Sdl Ttf","source":"github","url":"https://github.com/libsdl-org/SDL_ttf/issues/187","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"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":"libsdl2-ttf","name":"libsdl2-ttf","label":"libsdl2-ttf","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libsdl2-ttf","purlType":"deb","versions":[{"text":"< 2.0.18+dfsg-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.18+dfsg-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libsdl2-ttf","name":"libsdl2-ttf","label":"libsdl2-ttf","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libsdl2-ttf","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null},{"text":"36","noFixRecorded":false,"fixedIn":null}],"versionsText":"34 | 35 | 36","eol":{"isEol":true,"eolDate":"2022-06-07T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"34","label":"34","eolFrom":"2022-06-07T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"libsdl","product":"sdl_ttf","name":"sdl ttf","label":"sdl_ttf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.0.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.0.18","eol":null,"hubHref":"/vendor/libsdl/sdl_ttf"}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/libsdl-org/SDL_ttf/issues/187","label":"github.com/libsdl-org/SDL_ttf/issues/187","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448","label":"github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XPYTEBBNHCDGPVFACC5RC5K2FZUCYTPZ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EAGMQMRQDTZFQW64JEW3O6HY3JYLAAHT/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RXI3MDPR24W5557G34YHWOP2MOK6BTGB/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://ubuntu.com/security/CVE-2022-27470","label":"ubuntu.com/security/CVE-2022-27470","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-27470","label":"www.cve.org/CVERecord?id=CVE-2022-27470","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-27470","label":"security-tracker.debian.org/tracker/CVE-2022-27470","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-05-04T02:34:44.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T05:25:32.705Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:38:38.705Z","stale":false,"partial":false}}