CVE-2021-36977 Memory corruption in n/a

Medium 6.5 Published Updated

A heap-based buffer overflow in the MAT File I/O Library allows attackers to execute arbitrary code or cause denial of service via crafted 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
Available

What is CVE-2021-36977?

CVE-2021-36977 is a medium-severity memory corruption vulnerability in n/a, published on 20 Jul 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

matio (aka MAT File I/O Library) 1.5.20 and 1.5.21 has a heap-based buffer overflow in H5MM_memcpy (called from H5MM_malloc and H5C_load_entry), related to use of HDF5 1.12.0.

Weakness: CWE-787

Which versions are affected by CVE-2021-36977?

It affects 1 product.

Products include Matio Project Matio.

How do I fix CVE-2021-36977?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-36977 being exploited?

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

Sources

Also known as GHSA-jc5x-q9q8-4xhc, UBUNTU-CVE-2021-36977.

Is CVE-2021-36977 in your software?

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

Check your SBOMs for free