{"id":"JLSEC-2026-1563","aliases":["JLSEC-2026-1563"],"related":["CVE-2026-120758"],"kind":"vulnerability","state":"published","title":"HDF5 through 2.2.0 contains a NULL pointer dereference vulnerability in H5HLunprotect() in src/H5HL.c.","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.","summaryFormat":"markdown","summarySource":"jlsec","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.","format":"markdown","source":"jlsec"}],"published":"2026-11-30T14:53:06.209Z","modified":"2026-11-30T15:00:02.557Z","severity":{"scorer":"Julia Security Advisories","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"},"severities":[{"scorer":"Julia Security Advisories","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"},{"scorer":"Julia Security Advisories","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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.0+0"}],"ecosystem":"Julia","package":"HDF5_jll","purl":"pkg:julia/HDF5_jll?uuid=0234f1f7-429e-5d53-9886-15a909be8d59","source":"jlsec"}],"references":[{"url":"https://github.com/HDFGroup/hdf5/pull/6377","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1563","url":"https://osv.dev/vulnerability/JLSEC-2026-1563","licence":"CC-BY-4.0","modified":"2026-11-30T15:00:02.557Z"}],"updatedAt":"2026-11-30T15:07:25.169Z"}