Out-of-bounds Write Affecting libsdl2-ttf package, versions <2.0.18+dfsg-3


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.99% (62nd percentile)

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 IDSNYK-DEBIAN14-LIBSDL2TTF-11749311
  • published10 Aug 2025
  • disclosed4 May 2022

Introduced: 4 May 2022

CVE-2022-27470  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Debian:14 libsdl2-ttf to version 2.0.18+dfsg-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libsdl2-ttf package and not the libsdl2-ttf package as distributed by Debian. See How to fix? for Debian:14 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.

CVSS Base Scores

version 3.1