CVE-2025-50343

Source
https://cve.org/CVERecord?id=CVE-2025-50343
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-50343.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-50343
Downstream
Related
Published
2025-12-30T00:00:00Z
Modified
2026-07-11T03:53:35.489168050Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in matio 1.5.28. A heap-based memory corruption can occur in Mat_VarCreateStruct() when the nfields value does not match the actual number of strings in the fields array. This leads to out-of-bounds reads and invalid memory frees during cleanup, potentially causing a segmentation fault or heap corruption.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/50xxx/CVE-2025-50343.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/tbeu/matio

Affected ranges

Type
GIT
Repo
https://github.com/tbeu/matio
Events
Database specific
{
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "1.5.28"
        },
        {
            "last_affected": "1.5.28"
        }
    ],
    "cpe": "cpe:2.3:a:matio_project:matio:1.5.28:*:*:*:*:*:*:*"
}

Affected versions

1.*
1.5.28
v1.*
v1.5.28

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-50343.json"