CVE-2026-120758 (GCVE-0-2026-120758)
Vulnerability from cvelistv5
Published
2026-11-03 15:38
Modified
2026-11-03 17:52
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-476 - NULL pointer dereference
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.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| The HDF Group | HDF5 |
Version: < 2.3.0 |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-120758",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-11-03T17:51:46.159121Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-11-03T17:52:03.376Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "HDF5",
"vendor": "The HDF Group",
"versions": [
{
"status": "affected",
"version": "\u003c 2.3.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "HDF5 through 2.2.0 contains a NULL pointer dereference vulnerability in \u003ccode\u003eH5HL_unprotect()\u003c/code\u003e in \u003ccode\u003esrc/H5HL.c\u003c/code\u003e. \u003ccode\u003eH5HL_protect()\u003c/code\u003e pins a single metadata cache entry for a local heap, either the heap prefix or the separate data block, and \u003ccode\u003eH5HL_unprotect()\u003c/code\u003e unpins it on the final unprotect. When the metadata cache destroys a corrupted local heap entry, \u003ccode\u003eH5HL__prfx_dest()\u003c/code\u003e unlinks it from the heap by setting \u003ccode\u003eheap-\u0026gt;prfx\u003c/code\u003e or \u003ccode\u003eheap-\u0026gt;dblk\u003c/code\u003e to NULL. A crafted HDF5 file can therefore reach \u003ccode\u003eH5HL_unprotect()\u003c/code\u003e with no cached object to unpin, and the function passes the NULL pointer to \u003ccode\u003eH5AC_unpin_entry()\u003c/code\u003e. 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.\u0026nbsp;\u0026nbsp;"
}
],
"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-\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."
}
],
"impacts": [
{
"capecId": "CAPEC-153",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-153 Input Data Manipulation"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 5.4,
"baseSeverity": "MEDIUM",
"exploitMaturity": "PROOF_OF_CONCEPT",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"valueDensity": "NOT_DEFINED",
"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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-476",
"description": "CWE-476 NULL pointer dereference",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-03T15:38:09.387Z",
"orgId": "0253b833-3e77-4dfe-9d57-17db1a2f0a74",
"shortName": "HDFG"
},
"references": [
{
"url": "https://github.com/HDFGroup/hdf5/pull/6377"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "NULL Pointer Dereference in H5HL_unprotect via Corrupted File",
"x_generator": {
"engine": "Vulnogram 1.0.5"
}
}
},
"cveMetadata": {
"assignerOrgId": "0253b833-3e77-4dfe-9d57-17db1a2f0a74",
"assignerShortName": "HDFG",
"cveId": "CVE-2026-120758",
"datePublished": "2026-11-03T15:38:09.387Z",
"dateReserved": "2026-11-02T21:30:12.341Z",
"dateUpdated": "2026-11-03T17:52:03.376Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-120758\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-11-03T17:51:46.159121Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-11-03T17:51:54.537Z\"}}], \"cna\": {\"title\": \"NULL Pointer Dereference in H5HL_unprotect via Corrupted File\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"impacts\": [{\"capecId\": \"CAPEC-153\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-153 Input Data Manipulation\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 5.4, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"valueDensity\": \"NOT_DEFINED\", \"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\", \"exploitMaturity\": \"PROOF_OF_CONCEPT\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"PASSIVE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"NONE\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"NONE\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"HIGH\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"NONE\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"The HDF Group\", \"product\": \"HDF5\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 2.3.0\"}], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://github.com/HDFGroup/hdf5/pull/6377\"}], \"x_generator\": {\"engine\": \"Vulnogram 1.0.5\"}, \"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-\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.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"HDF5 through 2.2.0 contains a NULL pointer dereference vulnerability in \u003ccode\u003eH5HL_unprotect()\u003c/code\u003e in \u003ccode\u003esrc/H5HL.c\u003c/code\u003e. \u003ccode\u003eH5HL_protect()\u003c/code\u003e pins a single metadata cache entry for a local heap, either the heap prefix or the separate data block, and \u003ccode\u003eH5HL_unprotect()\u003c/code\u003e unpins it on the final unprotect. When the metadata cache destroys a corrupted local heap entry, \u003ccode\u003eH5HL__prfx_dest()\u003c/code\u003e unlinks it from the heap by setting \u003ccode\u003eheap-\u0026gt;prfx\u003c/code\u003e or \u003ccode\u003eheap-\u0026gt;dblk\u003c/code\u003e to NULL. A crafted HDF5 file can therefore reach \u003ccode\u003eH5HL_unprotect()\u003c/code\u003e with no cached object to unpin, and the function passes the NULL pointer to \u003ccode\u003eH5AC_unpin_entry()\u003c/code\u003e. 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.\u0026nbsp;\u0026nbsp;\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-476\", \"description\": \"CWE-476 NULL pointer dereference\"}]}], \"providerMetadata\": {\"orgId\": \"0253b833-3e77-4dfe-9d57-17db1a2f0a74\", \"shortName\": \"HDFG\", \"dateUpdated\": \"2026-11-03T15:38:09.387Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-120758\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-11-03T17:52:03.376Z\", \"dateReserved\": \"2026-11-02T21:30:12.341Z\", \"assignerOrgId\": \"0253b833-3e77-4dfe-9d57-17db1a2f0a74\", \"datePublished\": \"2026-11-03T15:38:09.387Z\", \"assignerShortName\": \"HDFG\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…