CVE-2022-27470
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.
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
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 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
sdl2_ttfAlpine:v3.17 |
before 2.20.0-r0 | 2.20.0-r0 |
sdl2_ttfAlpine:v3.18 |
before 2.20.0-r0 | 2.20.0-r0 |
sdl2_ttfAlpine:v3.19 |
before 2.20.0-r0 | 2.20.0-r0 |
sdl2_ttfAlpine:v3.20 |
before 2.20.0-r0 | 2.20.0-r0 |
sdl2_ttfAlpine:v3.21 |
before 2.20.0-r0 | 2.20.0-r0 |
sdl2_ttfAlpine:v3.22 |
before 2.20.0-r0 | 2.20.0-r0 |
sdl2_ttfAlpine:v3.23 |
before 2.20.0-r0 | 2.20.0-r0 |
sdl2_ttfAlpine:v3.24 |
before 2.20.0-r0 | 2.20.0-r0 |
libsdl2-ttfDebian:12 |
before 2.0.18+dfsg-3 | 2.0.18+dfsg-3 |
libsdl2-ttfDebian:13 |
before 2.0.18+dfsg-3 | 2.0.18+dfsg-3 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libsdl2-ttfDebian:14 |
before 2.0.18+dfsg-3 | 2.0.18+dfsg-3 |
SDL2_ttf_jllJulia |
before 2.24.0+0 | 2.24.0+0 |
libsdl2-ttfUbuntu:16.04:LTS |
All versions, plus listed versions 2.0.12+dfsg1-22.0.14+dfsg1-1 |
None known |
libsdl2-ttfUbuntu:18.04:LTS |
All versions, plus listed versions 2.0.14+dfsg1-2 |
None known |
libsdl2-ttfUbuntu:20.04:LTS |
All versions, plus listed versions 2.0.15+dfsg1-1 |
None known |
libsdl2-ttfUbuntu:22.04:LTS |
All versions, plus listed versions 2.0.15+dfsg1-12.0.15+dfsg1-22.0.18+dfsg-2 |
None known |
libsdl2-ttfUbuntu:24.04:LTS |
All versions, plus listed versions 2.20.2+dfsg-12.22.0+dfsg-1 |
None known |
libsdl2-ttfUbuntu:25.10 |
All versions, plus listed versions 2.24.0+dfsg-2 |
None known |
libsdl2-ttfUbuntu:26.10 |
All versions, plus listed versions 2.24.0+dfsg-3 |
None known |
libsdl2-ttfUbuntu:26.04:LTS |
All versions, plus listed versions 2.24.0+dfsg-22.24.0+dfsg-3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE 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
github.com/libsdl-org/SDL_ttf/issues/187
github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XPYTEBBNHCDGPVFACC5RC5K2FZUCYTPZ
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EAGMQMRQDTZFQW64JEW3O6HY3JYLAAHT
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RXI3MDPR24W5557G34YHWOP2MOK6BTGB
nvd.nist.gov/vuln/detail/CVE-2022-27470
Show 10 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/EAGMQMRQDTZFQW64JEW3O6HY3JYLAAHT
lists.fedoraproject.org/archives/list/[email protected]/message/RXI3MDPR24W5557G34YHWOP2MOK6BTGB
lists.fedoraproject.org/archives/list/[email protected]/message/XPYTEBBNHCDGPVFACC5RC5K2FZUCYTPZ
github.com/advisories/GHSA-8fg7-x4v8-wv65
security.alpinelinux.org/vuln/CVE-2022-27470
github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27470.json
security-tracker.debian.org/tracker/CVE-2022-27470
ubuntu.com/security/CVE-2022-27470
cve.org/CVERecord?id=CVE-2022-27470
suse.com/security/cve/CVE-2022-27470