CVE-2022-25515 Memory corruption in n/a

Medium 6.5 Published Updated

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

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
None listed

What is CVE-2022-25515?

CVE-2022-25515 is a medium-severity memory corruption vulnerability in n/a, published on 17 Mar 2022. 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

stb_truetype.h v1.26 was discovered to contain a heap-buffer-overflow via the function ttULONG() 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

Which versions are affected by CVE-2022-25515?

It affects 1 product.

Products include Nothings Stb Truetype.h.

How do I fix CVE-2022-25515?

No fix has been published for CVE-2022-25515 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-25515 being exploited?

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

Sources

Also known as GHSA-gw3c-4c2x-84wq.

Is CVE-2022-25515 in your software?

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

Check your SBOMs for free