CVE-2021-28233 Memory corruption in n/a

High 8.8 Published Updated

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

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

CVE-2021-28233 is a high-severity memory corruption vulnerability in n/a, published on 27 Aug 2021. 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

Heap-based Buffer Overflow vulnerability exists in ok-file-formats 1 via the ok_jpg_generate_huffman_table function in ok_jpg.c.

Weakness: CWE-787

Which versions are affected by CVE-2021-28233?

It affects 1 product.

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

How do I fix CVE-2021-28233?

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

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

Sources

Also known as GHSA-p4gx-hqcf-w8m9.

Is CVE-2021-28233 in your software?

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

Check your SBOMs for free