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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libsdl2-ttf | 2.0.18+dfsg-3 | — |
| Debian 13 | libsdl2-ttf | 2.0.18+dfsg-3 | — |
| Debian 12 | libsdl2-ttf | 2.0.18+dfsg-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libsdl2-ttf | No fix yet | — |
| Ubuntu 26.04 LTS | libsdl2-ttf | No fix yet | — |
| Ubuntu 25.10 | libsdl2-ttf | No fix yet | — |
| Ubuntu 24.04 LTS | libsdl2-ttf | No fix yet | — |
| Ubuntu 22.04 LTS | libsdl2-ttf | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libsdl2-ttf | No fix yet | — |
| Ubuntu 18.04 LTS | libsdl2-ttf | No fix yet | — |
| Ubuntu 16.04 LTS | libsdl2-ttf | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | sdl2_ttf | 2.20.0-r0 | — |
| Alpine v3.23 | sdl2_ttf | 2.20.0-r0 | — |
| Alpine v3.22 | sdl2_ttf | 2.20.0-r0 | — |
| Alpine v3.21 | sdl2_ttf | 2.20.0-r0 | — |
| Alpine v3.20 | sdl2_ttf | 2.20.0-r0 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | sdl2_ttf | 2.20.0-r0 | — |
| Alpine v3.18 | sdl2_ttf | 2.20.0-r0 | — |
| Alpine v3.17 | sdl2_ttf | 2.20.0-r0 | — |
References
- https://github.com/libsdl-org/SDL_ttf/issues/187
- https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448
- FEDORA-2022-280ac942be vendor-advisory
- FEDORA-2022-600e0cba93 vendor-advisory
- FEDORA-2022-857d1f7050 vendor-advisory