CVE-2022-25514 Memory corruption in n/a

High 7.5 Published Updated

A heap-buffer-overflow in stb_truetype.h allows attackers to cause denial of service or execute arbitrary code via malicious TrueType fonts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-25514?

CVE-2022-25514 is a high-severity memory corruption vulnerability in n/a, published on 17 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

stb_truetype.h v1.26 was discovered to contain a heap-buffer-overflow via the function ttUSHORT() at stb_truetype.h. NOTE: Third party has disputed stating that the source code has also a disclaimer that it should only be used with trusted input.

Weakness: CWE-787, CWE-120

Which versions are affected by CVE-2022-25514?

It affects 1 product.

Products include Nothings Stb Truetype.h.

How do I fix CVE-2022-25514?

No fix has been published for CVE-2022-25514 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2022-25514 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-25514 exists.

Sources

Also known as GHSA-5hw4-hqhq-pf4g.

Is CVE-2022-25514 in your software?

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

Check your SBOMs for free