{"id":"CVE-2026-120758","aliases":["AZL-112640","DEBIAN-CVE-2026-120758","EUVD-2026-116017","GHSA-49fv-ggjg-jcjc","UBUNTU-CVE-2026-120758"],"status":"published","title":"NULL Pointer Dereference in H5HL_unprotect via Corrupted File","description":"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-\u003eprfx or heap-\u003edblk 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.","severity":{"version":"4.0","score":5.4,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0014,"percentile":0.03399,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-476"],"published":"2026-11-03T15:38:09Z","modified":"2026-11-05T11:46:22Z","affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.14.6-6"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.10+repack-1","1.10.10+repack-2","1.10.10+repack-3","1.10.10+repack-3.1","1.10.10+repack-3.2","1.10.10+repack-3.2+ports","1.10.10+repack-3.3","1.10.10+repack-4","1.10.10+repack-5","1.10.8+repack1-1","1.12.0+repack-1~exp1","1.12.0+repack-1~exp2","1.12.2+repack-1~exp1","1.14.3+repack-1~exp1","1.14.3+repack1-1~exp2","1.14.3+repack1-1~exp3","1.14.4.3+repack-1~exp1","1.14.4.3+repack-1~exp2","1.14.4.3+repack-1~exp3","1.14.5+repack-1","1.14.5+repack-1~exp1","1.14.5+repack-1~exp2","1.14.5+repack-1~exp3","1.14.5+repack-1~exp4","1.14.5+repack-1~exp5","1.14.5+repack-1~exp6","1.14.5+repack-2","1.14.5+repack-3","1.14.5+repack-3.1","1.14.5+repack-3~exp1","1.14.5+repack-3~exp2","1.14.5+repack-3~exp3","1.14.5+repack-3~exp4","1.14.5+repack-4","1.14.5+repack-4~exp1","1.14.5+repack-4~exp2","1.14.5+repack-5~exp2","1.14.5+repack-5~exp3","1.14.6+repack-1","1.14.6+repack-1~exp1","1.14.6+repack-1~exp10","1.14.6+repack-1~exp11","1.14.6+repack-1~exp12","1.14.6+repack-1~exp13","1.14.6+repack-1~exp14","1.14.6+repack-1~exp15","1.14.6+repack-1~exp16","1.14.6+repack-1~exp17","1.14.6+repack-1~exp18","1.14.6+repack-1~exp19","1.14.6+repack-1~exp2","1.14.6+repack-1~exp20","1.14.6+repack-1~exp21","1.14.6+repack-1~exp3","1.14.6+repack-1~exp4","1.14.6+repack-1~exp5","1.14.6+repack-1~exp6","1.14.6+repack-1~exp7","1.14.6+repack-1~exp8","1.14.6+repack-1~exp9","1.14.6+repack-2","1.14.6+repack-3~exp1","2.1.0+repack-1","2.1.0+repack-1~exp10","2.1.0+repack-1~exp11","2.1.0+repack-1~exp3","2.1.0+repack-1~exp4","2.1.0+repack-1~exp5","2.1.0+repack-1~exp6","2.1.0+repack-1~exp7","2.1.0+repack-1~exp8","2.1.0+repack-1~exp9","2.2.0+repack-1","2.2.0+repack-2","2.2.0+repack-3","2.2.0+repack-4","2.2.0+repack-5","2.2.0+repack-6"]},{"source":"osv","ecosystem":"Debian:13","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.5+repack-3","1.14.5+repack-3.1","1.14.5+repack-4","1.14.5+repack-4~exp1","1.14.5+repack-4~exp2","1.14.5+repack-5~exp2","1.14.5+repack-5~exp3","1.14.6+repack-1","1.14.6+repack-1~exp1","1.14.6+repack-1~exp10","1.14.6+repack-1~exp11","1.14.6+repack-1~exp12","1.14.6+repack-1~exp13","1.14.6+repack-1~exp14","1.14.6+repack-1~exp15","1.14.6+repack-1~exp16","1.14.6+repack-1~exp17","1.14.6+repack-1~exp18","1.14.6+repack-1~exp19","1.14.6+repack-1~exp2","1.14.6+repack-1~exp20","1.14.6+repack-1~exp21","1.14.6+repack-1~exp3","1.14.6+repack-1~exp4","1.14.6+repack-1~exp5","1.14.6+repack-1~exp6","1.14.6+repack-1~exp7","1.14.6+repack-1~exp8","1.14.6+repack-1~exp9","1.14.6+repack-2","1.14.6+repack-3~exp1","2.1.0+repack-1","2.1.0+repack-1~exp10","2.1.0+repack-1~exp11","2.1.0+repack-1~exp3","2.1.0+repack-1~exp4","2.1.0+repack-1~exp5","2.1.0+repack-1~exp6","2.1.0+repack-1~exp7","2.1.0+repack-1~exp8","2.1.0+repack-1~exp9","2.2.0+repack-1","2.2.0+repack-2","2.2.0+repack-3","2.2.0+repack-4","2.2.0+repack-5","2.2.0+repack-6"]},{"source":"osv","ecosystem":"Debian:14","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.5+repack-3","1.14.5+repack-3.1","1.14.5+repack-4","1.14.5+repack-4~exp1","1.14.5+repack-4~exp2","1.14.5+repack-5~exp2","1.14.5+repack-5~exp3","1.14.6+repack-1","1.14.6+repack-1~exp1","1.14.6+repack-1~exp10","1.14.6+repack-1~exp11","1.14.6+repack-1~exp12","1.14.6+repack-1~exp13","1.14.6+repack-1~exp14","1.14.6+repack-1~exp15","1.14.6+repack-1~exp16","1.14.6+repack-1~exp17","1.14.6+repack-1~exp18","1.14.6+repack-1~exp19","1.14.6+repack-1~exp2","1.14.6+repack-1~exp20","1.14.6+repack-1~exp21","1.14.6+repack-1~exp3","1.14.6+repack-1~exp4","1.14.6+repack-1~exp5","1.14.6+repack-1~exp6","1.14.6+repack-1~exp7","1.14.6+repack-1~exp8","1.14.6+repack-1~exp9","1.14.6+repack-2","1.14.6+repack-3~exp1","2.1.0+repack-1","2.1.0+repack-1~exp10","2.1.0+repack-1~exp11","2.1.0+repack-1~exp3","2.1.0+repack-1~exp4","2.1.0+repack-1~exp5","2.1.0+repack-1~exp6","2.1.0+repack-1~exp7","2.1.0+repack-1~exp8","2.1.0+repack-1~exp9","2.2.0+repack-1","2.2.0+repack-2","2.2.0+repack-3","2.2.0+repack-4","2.2.0+repack-5","2.2.0+repack-6"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.11-3ubuntu1","1.8.11-5ubuntu1","1.8.11-5ubuntu2","1.8.11-5ubuntu6","1.8.11-5ubuntu7","1.8.11-5ubuntu7.1","1.8.11-5ubuntu7.1+esm1","1.8.11-5ubuntu7.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.15-patch1+docs-4","1.8.15-patch1+docs-5","1.8.16+docs-1","1.8.16+docs-2","1.8.16+docs-3","1.8.16+docs-3ubuntu1","1.8.16+docs-4","1.8.16+docs-4ubuntu1","1.8.16+docs-4ubuntu1.1","1.8.16+docs-4ubuntu1.1+esm1","1.8.16+docs-4ubuntu1.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.0-patch1+docs-4","1.10.0-patch1+docs-4ubuntu0.1~esm1","1.10.0-patch1+docs-4ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.4+repack-10","1.10.4+repack-11","1.10.4+repack-11ubuntu1","1.10.4+repack-11ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.6+repack-5","1.10.7+repack-4ubuntu1","1.10.7+repack-4ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.8+repack1-1ubuntu1","1.10.10+repack-3ubuntu1","1.10.10+repack-3.1ubuntu3","1.10.10+repack-3.1ubuntu4"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.6+repack-2","2.2.0+repack-4","2.2.0+repack-5"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.5+repack-3build1","1.14.5+repack-4","1.14.6+repack-2"]}],"products":[{"vendor":"hdfgroup","product":"hdf5"},{"vendor":"the hdf group","product":"hdf5"}],"references":[{"url":"https://github.com/HDFGroup/hdf5/pull/6377","tags":["Issue Tracking","Patch","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120758","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-49fv-ggjg-jcjc"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120758.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-120758","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-120758","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-120758","tags":["report"]},{"url":"https://github.com/HDFGroup/hdf5/issues/6403","tags":["report"]},{"url":"https://github.com/HDFGroup/hdf5/commit/91fc37c3325264e67699408e3a190fe4f329bf85","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-120758","title":"NULL Pointer Dereference in H5HL_unprotect via Corrupted File","description":"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-\u003eprfx or heap-\u003edblk 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.","status":"published","published":"2026-11-03T15:38:09.387Z","modified":"2026-11-03T17:52:03.376Z","cvss":[{"version":"4.0","score":5.4,"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","level":"medium","assessor":"cna"}],"cwes":["CWE-476"],"updated_at":"2026-11-03T19:01:22.66055Z"}],"euvd":[{"id":"EUVD-2026-116017","description":"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-\u003eprfx or heap-\u003edblk 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.","status":"published","published":"2026-11-03T15:38:09Z","modified":"2026-11-03T17:52:03Z","cvss":[{"version":"4.0","score":5.4,"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","level":"medium"}],"updated_at":"2026-11-03T21:20:14.442067Z"}],"ghsa":[{"id":"GHSA-49fv-ggjg-jcjc","title":"HDF5 through 2.2.0 contains a NULL pointer dereference vulnerability in H5HL_unprotect() in src...","description":"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-\u003eprfx or heap-\u003edblk 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.","status":"published","published":"2026-11-03T18:31:01Z","modified":"2026-11-03T21:32:09Z","cvss":[{"version":"4.0","score":5.4,"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","level":"medium"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-476"],"updated_at":"2026-11-03T21:34:06.482208Z"}],"nvd":[{"id":"CVE-2026-120758","description":"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-\u003eprfx or heap-\u003edblk 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.","status":"published","published":"2026-11-03T16:17:23.24Z","modified":"2026-11-03T21:08:46.573Z","cvss":[{"version":"4.0","score":5.4,"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","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-476"],"updated_at":"2026-11-04T00:48:10.032782Z"}],"osv":[{"id":"CVE-2026-120758","title":"NULL Pointer Dereference in H5HL_unprotect via Corrupted File","description":"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-\u003eprfx or heap-\u003edblk 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.","status":"published","published":"2026-11-03T15:38:09.387Z","modified":"2026-11-05T03:30:46.806180188Z","cvss":[{"version":"4.0","score":5.4,"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","level":"medium"}],"cwes":["CWE-476"],"updated_at":"2026-11-05T07:12:46.161235Z"},{"id":"DEBIAN-CVE-2026-120758","description":"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-\u003eprfx or heap-\u003edblk 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.","status":"published","published":"2026-11-03T16:17:23.24Z","modified":"2026-11-04T15:00:06.804625811Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-04T15:03:50.387479Z"},{"id":"UBUNTU-CVE-2026-120758","description":"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-\u003eprfx or heap-\u003edblk 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.","status":"published","published":"2026-11-03T16:17:00Z","modified":"2026-11-05T11:46:22.361573867Z","cvss":[{"version":"4.0","score":5.4,"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","level":"medium"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-05T13:30:15.321876Z"},{"id":"AZL-112640","title":"CVE-2026-120758 affecting package hdf5 1.14.6-6","description":"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-\u003eprfx or heap-\u003edblk 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.","status":"published","published":"2026-11-03T16:17:23Z","modified":"2026-11-05T05:40:51Z","updated_at":"2026-11-05T16:41:19.001909Z"}]}}
