CVE-2019-12212 Denial of service in n/a

High 7.5 Published Updated

A remote attacker can cause a denial of service via stack exhaustion in FreeImage by sending a specially crafted JXR file.

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

What is CVE-2019-12212?

CVE-2019-12212 is a high-severity denial of service vulnerability in Freeimage Project Freeimage, published on 20 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

When FreeImage 3.18.0 reads a special JXR file, the StreamCalcIFDSize function of JXRMeta.c repeatedly calls itself due to improper processing of the file, eventually causing stack exhaustion. An attacker can achieve a remote denial of service attack by sending a specially constructed file.

Weakness: CWE-674

Which versions are affected by CVE-2019-12212?

It affects 1 product.

Products include Freeimage Project Freeimage.

How do I fix CVE-2019-12212?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2019-12212 being exploited?

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

All Freeimage Project Freeimage vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-12212, GHSA-rp8j-g7jf-vmc8, UBUNTU-CVE-2019-12212.

Is CVE-2019-12212 in your software?

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

Check your SBOMs for free