NULL Pointer Dereference Affecting hdf5-openmpi-static package, versions <0:2.2.0-0.1.5.hum1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-HDF5OPENMPISTATIC-22184207
  • published4 Nov 2026
  • disclosed3 Nov 2026

Introduced: 3 Nov 2026

NewCVE-2026-120758  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade RHEL:10 hdf5-openmpi-static to version 0:2.2.0-0.1.5.hum1 or higher.
This issue was patched in RHSA-2026:94898.

NVD Description

Note: Versions mentioned in the description apply only to the upstream hdf5-openmpi-static package and not the hdf5-openmpi-static package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

HDF5 through 2.2.0 contains a NULL pointer dereference vulnerability in H5HL_unprotect() in src/H5HL.c. H5HL_protect() pins a single metadata cache entry for a local heap, either the heap prefix or the separate data block, and H5HL_unprotect() unpins it on the final unprotect. When the metadata cache destroys a corrupted local heap entry, H5HL__prfx_dest() unlinks it from the heap by setting heap->prfx or heap->dblk to NULL. A crafted HDF5 file can therefore reach H5HL_unprotect() with no cached object to unpin, and the function passes the NULL pointer to H5AC_unpin_entry(). This causes an assertion failure in debug builds and a NULL pointer dereference and crash in release builds. An attacker who can get a user or application to open and traverse a malicious file can cause a denial of service.

CVSS Base Scores

version 3.1