Out-of-bounds Write Affecting matio package, versions [1.5.18,1.5.23)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-MATIO-10077619
  • published8 May 2025
  • disclosed20 Jul 2021
  • creditUnknown

Introduced: 20 Jul 2021

CVE-2021-36977  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade matio to version 1.5.23 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write 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).

References

CVSS Base Scores

version 3.1