Out-of-bounds Write Affecting libmatio package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

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-UBUNTU2204-LIBMATIO-2780522
  • published6 Jan 2026
  • disclosed20 Jul 2021

Introduced: 20 Jul 2021

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

How to fix?

There is no fixed version for Ubuntu:22.04 libmatio.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libmatio package and not the libmatio package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1