# CVE-2022-27470: SDLttf v2.0.18 and below was discovered to contain an arbitrary memory write via the function TTFRenderTextSolid().

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.99%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-04T02:34:44.000Z
- Modified: 2026-06-17T04:37:04.483Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libsdl sdl_ttf: up to 2.0.18
- fedoraproject fedora: 34; 35; 36

## Every score

- NVD: 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`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/libsdl-org/SDL_ttf/issues/187> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XPYTEBBNHCDGPVFACC5RC5K2FZUCYTPZ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EAGMQMRQDTZFQW64JEW3O6HY3JYLAAHT/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RXI3MDPR24W5557G34YHWOP2MOK6BTGB/> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-27470](https://www.cve.org/CVERecord?id=CVE-2022-27470), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-27470](https://nvd.nist.gov/vuln/detail/CVE-2022-27470), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-27470 · Whole record: https://cve.day/CVE-2022-27470.json · Rebuilt by cve.day 2026-11-25T22:58:11.395Z
