CVE-2012-5670 Memory corruption in n/a

Medium 4.3 Published Updated

A remote attacker can cause a denial of service via a crafted BDF font file with a negative ENCODING value, affecting applications using FreeType.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-5670?

CVE-2012-5670 is a medium-severity memory corruption vulnerability in Freetype Freetype, published on 24 Jan 2013. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The _bdf_parse_glyphs function in FreeType before 2.4.11 allows context-dependent attackers to cause a denial of service (out-of-bounds write and crash) via vectors related to BDF fonts and an ENCODING field with a negative value.

Weakness: CWE-119

Which versions are affected by CVE-2012-5670?

It affects 1 product.

Products include Freetype Freetype.

How do I fix CVE-2012-5670?

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-2012-5670 being exploited?

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

All Freetype Freetype vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-5670, GHSA-chvj-m73r-9q8x.

Is CVE-2012-5670 in your software?

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

Check your SBOMs for free