First published: Mon May 20 2019(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Freeimage Project Freeimage | =3.18.0 | |
debian/freeimage | <=3.18.0+ds2-1+deb10u1<=3.18.0+ds2-1+deb10u2<=3.18.0+ds2-6<=3.18.0+ds2-6+deb11u1<=3.18.0+ds2-9<=3.18.0+ds2-9+deb12u1<=3.18.0+ds2-10 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-12212 is a vulnerability in FreeImage 3.18.0 that can cause stack exhaustion and lead to a remote denial of service attack.
CVE-2019-12212 works by exploiting improper processing of a special JXR file, which causes the StreamCalcIFDSize function to repeatedly call itself and exhaust the stack.
CVE-2019-12212 has a severity rating of 7.5 out of 10, indicating a high severity.
To fix CVE-2019-12212, update FreeImage to a version that is not affected, as listed in the reference links.
More information about CVE-2019-12212 can be found in the reference links: https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/ and https://security-tracker.debian.org/tracker/CVE-2019-12212.