CVE-2021-36977 json
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_en…
published 2021-07-20 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-23553
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- matio Package Hub 15 SP4, openSUSE Leap 15.4 1.5.23-bp154.2.3.1
opensuse advisories openSUSE-SU-2022:10235-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-36977 updated cvss 6.5
matio: heap-based buffer overflow in H5MM_memcpy()
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.50% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/google/oss-fuzz-vulns/commit/37b781ace1b4228fc36483bb7e30c72ea9d4c3d6
issue-tracking, patch, third-party-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=31265
patch, third-party-advisory
-
github.com
/google/oss-fuzz-vulns/blob/main/vulns/matio/OSV-2021-440.yaml
third-party-advisory
-
github.com
/HDFGroup/hdf5/issues/272
issue-tracking, third-party-advisory
-
github.com
/google/oss-fuzz/issues/4999
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2021-36977
- NVD CVE-2021-36977
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.