CVE-2021-44340 Memory corruption in n/a

High 7.8 Published Updated

A heap-buffer-overflow in the ok-file-formats library allows attackers to cause denial of service or potentially execute arbitrary code via crafted JPEG files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-44340?

CVE-2021-44340 is a high-severity memory corruption vulnerability in n/a, published on 28 Feb 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

David Brackeen ok-file-formats dev version is vulnerable to Buffer Overflow. When the function of the ok-file-formats project is used, a heap-buffer-overflow occurred in function ok_jpg_generate_huffman_table() in "/ok_jpg.c:403".

Weakness: CWE-787

Which versions are affected by CVE-2021-44340?

It affects 1 product.

Products include Ok-File-Formats Project Ok-File-Formats.

How do I fix CVE-2021-44340?

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

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

Sources

Also known as GHSA-v644-2jg6-mhpv.

Is CVE-2021-44340 in your software?

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

Check your SBOMs for free