CVE-2022-25972 Memory corruption in libhdf5

High 7.8 Published Updated

An out-of-bounds write in libhdf5 allows attackers to execute arbitrary code via a specially crafted GIF file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-25972?

CVE-2022-25972 is a high-severity memory corruption vulnerability in Hdfgroup Hdf5, published on 22 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An out-of-bounds write vulnerability exists in the gif2h5 functionality of HDF5 Group libhdf5 1.10.4. A specially-crafted GIF file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

Weakness: CWE-787

Which versions are affected by CVE-2022-25972?

It affects 1 product.

Products include Hdfgroup Hdf5.

How do I fix CVE-2022-25972?

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-2022-25972 being exploited?

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

All Hdfgroup Hdf5 vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-25972, ECHO-1e97-b296-d554, GHSA-pg49-p7jf-3q72, UBUNTU-CVE-2022-25972.

Is CVE-2022-25972 in your software?

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

Check your SBOMs for free