CVE-2022-27470 Memory corruption in n/a

High 7.8 Published Updated

An attacker can execute arbitrary code via a crafted TTF file exploiting an arbitrary memory write in the SDL_ttf library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-27470?

CVE-2022-27470 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 4 May 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2022-27470?

It affects 2 products.

Products include Fedoraproject Fedora, Libsdl Sdl Ttf.

How do I fix CVE-2022-27470?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-27470 being exploited?

There is no known exploitation of CVE-2022-27470 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-27470, GHSA-8fg7-x4v8-wv65, JLSEC-2026-127, UBUNTU-CVE-2022-27470, openSUSE-SU-2024:12177-1.

Is CVE-2022-27470 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free