Improper Validation of Specified Quantity in Input Affecting matio package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (22nd 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 IDSNYK-CONAN-MATIO-14742514
  • published1 Jan 2026
  • disclosed30 Dec 2025
  • creditzakkanijia

Introduced: 30 Dec 2025

CVE-2025-50343  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input in the Mat_VarCreateStruct function when the nfields value does not match the actual number of strings in the fields array. An attacker can cause out-of-bounds reads and invalid memory frees by providing mismatched values, leading to segmentation faults or heap corruption.

CVSS Base Scores

version 4.0
version 3.1