Every CVE Search/ Get API key

CVE-2022-27470

SDL_ttf v2.0.18 and below was discovered to contain an arbitrary memory write via the function...

7.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.99%Up 0.1 points since May 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2022-27470
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2022-27470
Updated
2026-11-02
EUVDEUVD-2022-31972 No score

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.

Record
EUVD-2022-31972
Updated
2026-11-03
GitHub AdvisoriesGHSA-8fg7-x4v8-wv65 7.8

SDL_ttf v2.0.18 and below was discovered to contain an arbitrary memory write via the function...

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.

Record
GHSA-8fg7-x4v8-wv65
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2022-27470 7.8

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.

Record
ALPINE-CVE-2022-27470
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVDEBIAN-CVE-2022-27470 7.8

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.

Record
DEBIAN-CVE-2022-27470
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
Show 4 moreShow less
OSVJLSEC-2026-127 7.8

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.

Record
JLSEC-2026-127
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Updated
2026-11-02
OSVUBUNTU-CVE-2022-27470 7.8

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.

Record
UBUNTU-CVE-2022-27470
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV No score

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.

Record
CVE-2022-27470
Updated
2026-11-02
OSVopenSUSE-SU-2024:12177-1 No score

libSDL2_ttf-2_0-0-2.20.0-1.1 on GA media

These are all security issues fixed in the libSDL2_ttf-2_0-0-2.20.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12177-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sdl2_ttf
Alpine:v3.17
before 2.20.0-r0
2.20.0-r0
sdl2_ttf
Alpine:v3.18
before 2.20.0-r0
2.20.0-r0
sdl2_ttf
Alpine:v3.19
before 2.20.0-r0
2.20.0-r0
sdl2_ttf
Alpine:v3.20
before 2.20.0-r0
2.20.0-r0
sdl2_ttf
Alpine:v3.21
before 2.20.0-r0
2.20.0-r0
sdl2_ttf
Alpine:v3.22
before 2.20.0-r0
2.20.0-r0
sdl2_ttf
Alpine:v3.23
before 2.20.0-r0
2.20.0-r0
sdl2_ttf
Alpine:v3.24
before 2.20.0-r0
2.20.0-r0
libsdl2-ttf
Debian:12
before 2.0.18+dfsg-3
2.0.18+dfsg-3
libsdl2-ttf
Debian:13
before 2.0.18+dfsg-3
2.0.18+dfsg-3
Show 10 moreShow less
Affected packages
PackageAffectedFixed
libsdl2-ttf
Debian:14
before 2.0.18+dfsg-3
2.0.18+dfsg-3
SDL2_ttf_jll
Julia
before 2.24.0+0
2.24.0+0
libsdl2-ttf
Ubuntu:16.04:LTS
All versions, plus listed versions
2.0.12+dfsg1-22.0.14+dfsg1-1
None known
libsdl2-ttf
Ubuntu:18.04:LTS
All versions, plus listed versions
2.0.14+dfsg1-2
None known
libsdl2-ttf
Ubuntu:20.04:LTS
All versions, plus listed versions
2.0.15+dfsg1-1
None known
libsdl2-ttf
Ubuntu:22.04:LTS
All versions, plus listed versions
2.0.15+dfsg1-12.0.15+dfsg1-22.0.18+dfsg-2
None known
libsdl2-ttf
Ubuntu:24.04:LTS
All versions, plus listed versions
2.20.2+dfsg-12.22.0+dfsg-1
None known
libsdl2-ttf
Ubuntu:25.10
All versions, plus listed versions
2.24.0+dfsg-2
None known
libsdl2-ttf
Ubuntu:26.10
All versions, plus listed versions
2.24.0+dfsg-3
None known
libsdl2-ttf
Ubuntu:26.04:LTS
All versions, plus listed versions
2.24.0+dfsg-22.24.0+dfsg-3
None known

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-27470 is a high vulnerability (CVSS 7.8) in Fedoraproject Fedora, published May 4, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.99%, the 62nd percentile. Fixed in sdl2_ttf 2.20.0-r0.

References

Show 10 moreShow less
MoveEnter Open