CVE-2022-26061 Memory corruption in libhdf5

High 7.8 Published Updated

A heap-based buffer overflow in libhdf5 allows attackers to execute arbitrary code by providing 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-26061?

CVE-2022-26061 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

A heap-based buffer overflow 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, CWE-122

Which versions are affected by CVE-2022-26061?

It affects 1 product.

Products include Hdfgroup Hdf5.

How do I fix CVE-2022-26061?

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-26061 being exploited?

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

All Hdfgroup Hdf5 vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-26061, ECHO-5d66-f0a7-a36c, GHSA-3qq4-m2c2-vqxm, UBUNTU-CVE-2022-26061.

Is CVE-2022-26061 in your software?

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

Check your SBOMs for free