{"api_version":"1","generated_at":"2026-04-23T02:25:07+00:00","cve":"CVE-2022-27470","urls":{"html":"https://cve.report/CVE-2022-27470","api":"https://cve.report/api/cve/CVE-2022-27470.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-27470","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-27470"},"summary":{"title":"CVE-2022-27470","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-05-04 03:15:00","updated_at":"2023-11-07 03:45:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RXI3MDPR24W5557G34YHWOP2MOK6BTGB/","name":"FEDORA-2022-857d1f7050","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: mingw-SDL2_ttf-2.0.18-2.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XPYTEBBNHCDGPVFACC5RC5K2FZUCYTPZ/","name":"FEDORA-2022-280ac942be","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: mingw-SDL2_ttf-2.0.18-3.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448","name":"https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448","refsource":"MISC","tags":[],"title":"More integer overflow (see bug #187) · libsdl-org/SDL_ttf@db1b41a · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/libsdl-org/SDL_ttf/issues/187","name":"https://github.com/libsdl-org/SDL_ttf/issues/187","refsource":"MISC","tags":[],"title":"Arbitrary memory overwrite occurs when loading glyphs and rendering text with a malformed TTF file. · Issue #187 · libsdl-org/SDL_ttf · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RXI3MDPR24W5557G34YHWOP2MOK6BTGB/","name":"FEDORA-2022-857d1f7050","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: mingw-SDL2_ttf-2.0.18-2.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EAGMQMRQDTZFQW64JEW3O6HY3JYLAAHT/","name":"FEDORA-2022-600e0cba93","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: mingw-SDL2_ttf-2.0.18-2.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EAGMQMRQDTZFQW64JEW3O6HY3JYLAAHT/","name":"FEDORA-2022-600e0cba93","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: mingw-SDL2_ttf-2.0.18-2.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XPYTEBBNHCDGPVFACC5RC5K2FZUCYTPZ/","name":"FEDORA-2022-280ac942be","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: mingw-SDL2_ttf-2.0.18-3.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-27470","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27470","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"27470","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"27470","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"27470","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"27470","vulnerable":"1","versionEndIncluding":"2.0.18","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libsdl","cpe5":"sdl_ttf","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-27470","qid":"184476","title":"Debian Security Update for libsdl2-ttf (CVE-2022-27470)"},{"cve":"CVE-2022-27470","qid":"282679","title":"Fedora Security Update for mingw (FEDORA-2022-857d1f7050)"},{"cve":"CVE-2022-27470","qid":"282680","title":"Fedora Security Update for mingw (FEDORA-2022-600e0cba93)"},{"cve":"CVE-2022-27470","qid":"282713","title":"Fedora Security Update for mingw (FEDORA-2022-280ac942be)"},{"cve":"CVE-2022-27470","qid":"502954","title":"Alpine Linux Security Update for sdl2_ttf"},{"cve":"CVE-2022-27470","qid":"505821","title":"Alpine Linux Security Update for sdl2_ttf"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-27470","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/libsdl-org/SDL_ttf/issues/187","refsource":"MISC","name":"https://github.com/libsdl-org/SDL_ttf/issues/187"},{"url":"https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448","refsource":"MISC","name":"https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448"},{"refsource":"FEDORA","name":"FEDORA-2022-280ac942be","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XPYTEBBNHCDGPVFACC5RC5K2FZUCYTPZ/"},{"refsource":"FEDORA","name":"FEDORA-2022-600e0cba93","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EAGMQMRQDTZFQW64JEW3O6HY3JYLAAHT/"},{"refsource":"FEDORA","name":"FEDORA-2022-857d1f7050","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RXI3MDPR24W5557G34YHWOP2MOK6BTGB/"}]}},"nvd":{"publishedDate":"2022-05-04 03:15:00","lastModifiedDate":"2023-11-07 03:45:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libsdl:sdl_ttf:*:*:*:*:*:*:*:*","versionEndIncluding":"2.0.18","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}