CVE-2020-10812
NixOS vulnerability analysis and mitigation

Overview

A NULL pointer dereference vulnerability was discovered in HDF5 through version 1.12.0. The vulnerability exists in the function H5F_get_nrefs() located in H5Fquery.c. This vulnerability was assigned CVE-2020-10812 and was disclosed on March 22, 2020 (NVD, Loginsoft Research).

Technical details

The vulnerability occurs when the function H5VL__native_file_close() calls H5F_get_nrefs() located in H5Fquery.c to retrieve the file's 'nrefs' value. The issue arises in the FUNC_LEAVE_NOAPI(f->shared->nrefs) line where f->shared is pointing to null, triggering a null pointer dereference. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) (NVD).

Impact

When exploited, this vulnerability allows an attacker to cause a Denial of Service condition in the application. The vulnerability can be triggered by sending a crafted file to the h5debug binary (Loginsoft Research).

Mitigation and workarounds

Users should upgrade to a version newer than HDF5 1.12.0 to address this vulnerability. The fix involves proper null pointer checking before accessing the shared->nrefs value in the H5F_get_nrefs() function (HDF Release Notes).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management