CVE-2022-27470

NameCVE-2022-27470
DescriptionSDL_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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1010671

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsdl2-ttf (PTS)buster, bullseye2.0.15+dfsg1-1fixed
bookworm2.20.1+dfsg-2fixed
sid, trixie2.22.0+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsdl2-ttfsourcestretch(not affected)
libsdl2-ttfsourcebuster(not affected)
libsdl2-ttfsourcebullseye(not affected)
libsdl2-ttfsource(unstable)2.0.18+dfsg-31010671

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

Search for package or bug name: Reporting problems