CVE-2022-25942 Memory corruption in libhdf5
An out-of-bounds read 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-25942?
CVE-2022-25942 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 read 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-125
Which versions are affected by CVE-2022-25942?
It affects 1 product.
Products include Hdfgroup Hdf5.
How do I fix CVE-2022-25942?
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-25942 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-25942 exists.
Other vulnerabilities in Hdfgroup Hdf5
Sources
Also known as DEBIAN-CVE-2022-25942, ECHO-eb17-7ac4-74c0, GHSA-h4mx-hpfc-jg53, ROOT-OS-DEBIAN-11-CVE-2022-25942, ROOT-OS-DEBIAN-12-CVE-2022-25942, UBUNTU-CVE-2022-25942.