Critical UNKNOWN READ Vulnerability in Matio Package

matio Updated 23 May 2026

Summary

22/05/2026
HIGH
Yes i
High
Not published

OSV-2026-788: UNKNOWN READ in Mat_VarGetStructsLinear. Affects matio versions >= ac1c67c687533d2de55f96709ed4512d4c197801, < 025931c79b03304300a9ea14c4c8a21fbde07430. Fixed in 025931c79b03304300a9ea14c4c8a21fbde07430. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Matio is an open-source library designed for reading and writing MATLAB files. It provides a range of functionalities for handling various data structures commonly used in MATLAB, making it a valuable tool for developers working with scientific computing and data analysis. However, like many software libraries, it is susceptible to vulnerabilities that can compromise its integrity and the security of applications that depend on it.

Vulnerability Detail

The vulnerability identified as UNKNOWN READ in the Mat_VarGetStructsLinear function arises from improper handling of data structures within the library. This issue was reported through OSS-Fuzz, a tool that helps identify security vulnerabilities in open-source software. The ramifications of this vulnerability can be severe, potentially leading to crashes or unintended behavior in applications that utilize the Matio library. It is crucial for developers to address this vulnerability promptly to maintain the security and reliability of their applications.

How To Fix

Minimum fixed version

025931c79b03304300a9ea14c4c8a21fbde07430

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you may consider avoiding the use of the Mat_VarGetStructsLinear function until the package is updated. This can help mitigate the risk of encountering the vulnerability while you work on implementing the fix.

Conclusion

The UNKNOWN READ vulnerability in the Matio package poses a significant risk to applications that utilize this library. It is essential for developers to update to the patched version to ensure the security and stability of their software. By following the outlined steps and utilizing tools like Vulert, developers can effectively manage and mitigate vulnerabilities in their applications.

See every vulnerability recorded for matio →

Share this vulnerability

FAQ

The UNKNOWN READ vulnerability is a security flaw that occurs due to improper handling of data structures, which can lead to crashes or unintended behavior in applications.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

To update the Matio package, clone the repository from GitHub and checkout the fixed version using the provided commands.

Yes, you can avoid using the Mat_VarGetStructsLinear function until the package is updated to reduce the risk of encountering the vulnerability.

More information can be found in the OSS-Fuzz report linked in the vulnerability details, which provides insights into the crash state and affected functions.

Related vulnerabilities

Recent vulnerabilities recorded for matio.

How To Fix

Minimum fixed version

025931c79b03304300a9ea14c4c8a21fbde07430

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback