{"id":"CVE-2022-27470","aliases":["ALPINE-CVE-2022-27470","DEBIAN-CVE-2022-27470","EUVD-2022-31972","GHSA-8fg7-x4v8-wv65","JLSEC-2026-127","UBUNTU-CVE-2022-27470","openSUSE-SU-2024:12177-1"],"status":"published","title":"SDL_ttf v2.0.18 and below was discovered to contain an arbitrary memory write via the function...","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00989,"percentile":0.62937,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2022-05-04T02:34:44Z","modified":"2026-11-03T07:30:36Z","fixes":[{"ecosystem":"Alpine:v3.17","package":"sdl2_ttf","fixed_in":["2.20.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"sdl2_ttf","fixed_in":["2.20.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"sdl2_ttf","fixed_in":["2.20.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"sdl2_ttf","fixed_in":["2.20.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"sdl2_ttf","fixed_in":["2.20.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"sdl2_ttf","fixed_in":["2.20.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"sdl2_ttf","fixed_in":["2.20.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"sdl2_ttf","fixed_in":["2.20.0-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libsdl2-ttf","fixed_in":["2.0.18+dfsg-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libsdl2-ttf","fixed_in":["2.0.18+dfsg-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libsdl2-ttf","fixed_in":["2.0.18+dfsg-3"],"sources":["osv"]},{"ecosystem":"Julia","package":"SDL2_ttf_jll","fixed_in":["2.24.0+0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.17","package":"sdl2_ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"sdl2_ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"sdl2_ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"sdl2_ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"sdl2_ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"sdl2_ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"sdl2_ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"sdl2_ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.0-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18+dfsg-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18+dfsg-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18+dfsg-3"}]}]},{"source":"osv","ecosystem":"Julia","package":"SDL2_ttf_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.24.0+0"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.12+dfsg1-2","2.0.14+dfsg1-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.14+dfsg1-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.15+dfsg1-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.15+dfsg1-1","2.0.15+dfsg1-2","2.0.18+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.20.2+dfsg-1","2.22.0+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.24.0+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.24.0+dfsg-3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libsdl2-ttf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.24.0+dfsg-2","2.24.0+dfsg-3"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"libsdl","product":"sdl_ttf"}],"references":[{"url":"https://github.com/libsdl-org/SDL_ttf/issues/187","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XPYTEBBNHCDGPVFACC5RC5K2FZUCYTPZ/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EAGMQMRQDTZFQW64JEW3O6HY3JYLAAHT/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RXI3MDPR24W5557G34YHWOP2MOK6BTGB/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27470","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EAGMQMRQDTZFQW64JEW3O6HY3JYLAAHT/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RXI3MDPR24W5557G34YHWOP2MOK6BTGB/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XPYTEBBNHCDGPVFACC5RC5K2FZUCYTPZ/"},{"url":"https://github.com/advisories/GHSA-8fg7-x4v8-wv65"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-27470","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27470.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-27470","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-27470","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-27470","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2022-27470","tags":["web"]}],"sources":{"cve":[{"id":"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.","status":"published","published":"2022-05-04T02:34:44Z","modified":"2024-08-03T05:25:32.705Z","updated_at":"2026-11-02T14:34:33.913527Z"}],"euvd":[{"id":"EUVD-2022-31972","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.","status":"published","published":"2022-05-04T02:34:44Z","modified":"2024-08-03T05:25:32Z","updated_at":"2026-11-03T03:25:42.489853Z"}],"ghsa":[{"id":"GHSA-8fg7-x4v8-wv65","title":"SDL_ttf v2.0.18 and below was discovered to contain an arbitrary memory write via the function...","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.","status":"published","published":"2022-05-05T00:00:26Z","modified":"2023-02-01T05:01:47Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:49:47.250219Z"}],"nvd":[{"id":"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.","status":"published","published":"2022-05-04T03:15:07.627Z","modified":"2026-06-17T04:37:04.483Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:18.660414Z"}],"osv":[{"id":"ALPINE-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.","status":"published","published":"2022-05-04T03:15:07.627Z","modified":"2026-11-03T07:30:36.203087324Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T07:50:38.973973Z"},{"id":"DEBIAN-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.","status":"published","published":"2022-05-04T03:15:07.627Z","modified":"2026-11-03T08:01:09.891575541Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T08:25:01.007408Z"},{"id":"JLSEC-2026-127","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.","status":"published","published":"2026-04-17T13:51:45.88Z","modified":"2026-07-25T18:23:55.231930325Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:47:18.159338Z"},{"id":"UBUNTU-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.","status":"published","published":"2022-05-04T03:15:00Z","modified":"2026-10-17T12:55:57.379709394Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:53.899276Z"},{"id":"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.","status":"published","published":"2022-05-04T02:34:44Z","modified":"2026-10-28T10:27:59.212720207Z","updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"openSUSE-SU-2024:12177-1","title":"libSDL2_ttf-2_0-0-2.20.0-1.1 on GA media","description":"These are all security issues fixed in the libSDL2_ttf-2_0-0-2.20.0-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:36:43.739094Z","updated_at":"2026-11-02T16:58:35.485255Z"}]}}
