CVE-2025-2337 tbeu matio mat.c Mat_VarPrint heap-based overflow

Medium 5.3 Published Updated

A heap-based buffer overflow in the Matio library allows remote attackers to execute arbitrary code or cause denial of service via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-2337?

CVE-2025-2337 is a medium-severity memory corruption vulnerability in tbeu matio, published on 16 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A vulnerability, which was classified as critical, has been found in tbeu matio 1.5.28. This issue affects the function Mat_VarPrint of the file src/mat.c. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2025-2337?

It affects 1 product.

Products include Matio Project Matio.

How do I fix CVE-2025-2337?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-2337 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2337 exists.

Sources

Also known as DEBIAN-CVE-2025-2337, GHSA-jcxj-fvhg-33mx, UBUNTU-CVE-2025-2337.

Is CVE-2025-2337 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free