{"id":"CVE-2026-120758","state":"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->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.","publishedAt":"2026-11-03T15:38:09.387Z","updatedAt":"2026-11-03T17:52:03.376Z","severity":{"score":5.4,"label":"Medium","version":"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","source":"HDFG"},"assigner":"HDFG","products":["The HDF Group HDF5"],"affected":[{"vendor":"The HDF Group","product":"HDF5","defaultStatus":"unaffected","versions":[{"version":"< 2.3.0","status":"affected"}]}],"references":["https://github.com/HDFGroup/hdf5/pull/6377"],"weaknesses":["CWE-476"],"ingestedAt":"2026-11-03T18:00:05.838Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120758.json","commit":"3596a935cfa8f5a5556cf993220c2f98bc8ed547","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120758","state":"PUBLISHED","datePublished":"2026-11-03T15:38:09.387Z","dateUpdated":"2026-11-03T17:52:03.376Z","assignerShortName":"HDFG","assignerOrgId":"0253b833-3e77-4dfe-9d57-17db1a2f0a74","dateReserved":"2026-11-02T21:30:12.341Z"},"containers":{"cna":{"title":"NULL Pointer Dereference in H5HL_unprotect via Corrupted File","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"The HDF Group","product":"HDF5","defaultStatus":"unaffected","versions":[{"version":"< 2.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/HDFGroup/hdf5/pull/6377"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"PROOF_OF_CONCEPT","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.4,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","description":"CWE-476 NULL pointer dereference","type":"CWE"}]}],"providerMetadata":{"shortName":"HDFG","orgId":"0253b833-3e77-4dfe-9d57-17db1a2f0a74","dateUpdated":"2026-11-03T15:38:09.387Z"},"impacts":[{"capecId":"CAPEC-153","descriptions":[{"lang":"en","value":"CAPEC-153 Input Data Manipulation"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.5"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-03T17:51:46.159121Z","id":"CVE-2026-120758","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-03T17:52:03.376Z"}}]}}}