CVE-2021-21946 Memory corruption in ImageGear

Critical 9.8 Published Updated

Heap buffer overflow in Accusoft ImageGear allows attackers to execute arbitrary code or cause denial of service via a malicious JPEG file.

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-2021-21946?

CVE-2021-21946 is a critical memory corruption vulnerability in Accusoft Imagegear, published on 14 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Two heap-based buffer overflow vulnerabilities exists in the JPEG-JFIF lossless Huffman image parser functionality of Accusoft ImageGear 19.10. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger these vulnerabilities.This heap-based buffer overflow takes place when the `SOF3` precision is lower than 9.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2021-21946?

It affects 1 product.

Products include Accusoft Imagegear.

How do I fix CVE-2021-21946?

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

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

All Accusoft Imagegear vulnerabilities

Sources

Also known as GHSA-qjcx-rhwq-959w.

Is CVE-2021-21946 in your software?

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

Check your SBOMs for free