Out-of-bounds Write Affecting sdl2_ttf package, versions <2.20.0-r0



    Attack Complexity Low
    User Interaction Required
    Confidentiality High
    Integrity High
    Availability High
Expand this section
7.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-ALPINE317-SDL2TTF-3143938
  • published 23 Nov 2022
  • disclosed 4 May 2022

How to fix?

Upgrade Alpine:3.17 sdl2_ttf to version 2.20.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sdl2_ttf package and not the sdl2_ttf package as distributed by Alpine:3.17. See How to fix? for Alpine:3.17 relevant fixed versions and status.

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.