{"id":"CVE-2026-120758","aliases":["CVE-2026-120758"],"related":[],"kind":"vulnerability","state":"published","title":"NULL Pointer Dereference in H5HL_unprotect via Corrupted File","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-03T15:38:09.387Z","modified":"2026-11-03T21:08:46.573Z","severity":{"scorer":"HDFG","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"HDFG","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"version":"< 2.3.0","status":"affected"}],"vendor":"The HDF Group","product":"HDF5","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.2.0"}],"vendor":"hdfgroup","product":"hdf5","cpe":"cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/HDFGroup/hdf5/pull/6377","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"HDFG","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-03T17:51:46.159Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120758","url":"https://www.cve.org/CVERecord?id=CVE-2026-120758","licence":"CVE Terms of Use","modified":"2026-11-03T17:52:03.376Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120758","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120758","licence":"Public domain","modified":"2026-11-03T21:08:46.573Z"}],"updatedAt":"2026-11-25T22:59:48.493Z","epss":{"score":0.00145,"percentile":0.03947,"date":"2026-12-01T12:00:22.000Z"}}