Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1010671 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libsdl2-ttf (PTS) | bullseye | 2.0.15+dfsg1-1 | fixed |
| bookworm | 2.20.1+dfsg-2 | fixed |
| sid, trixie | 2.22.0+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bullseye] - libsdl2-ttf <not-affected> (Vulnerable code not present)
[buster] - libsdl2-ttf <not-affected> (Vulnerable code not present)
[stretch] - libsdl2-ttf <not-affected> (Vulnerable code not present)
https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448
https://github.com/libsdl-org/SDL_ttf/issues/187
Introduced in https://github.com/libsdl-org/SDL_ttf/commit/31589bd7316d946d2eb122afaed68bc9b9b0fceb