CVE-2025-2925
NixOS vulnerability analysis and mitigation

Overview

A double-free vulnerability (CVE-2025-2925) was discovered in HDF5 versions up to 1.14.6. The vulnerability affects the H5MM_realloc function in the src/H5MM.c file, where the manipulation of the argument mem leads to a double free condition. The issue was disclosed on March 28, 2025, and requires local access to exploit (NVD, GitHub Issue).

Technical details

The vulnerability occurs in the H5MMxfree function defined in src/H5MM.c. The root cause is that the H5MMrealloc function uses realloc to release memory pointed to by pointer mem when handling size as 0, but fails to set the pointer mem to NULL afterward. This leads to a double free condition when calling the H5MM_xfree function. The vulnerability has been assigned a CVSS v3.1 base score of 3.3 (LOW) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L (NVD).

Impact

The vulnerability can lead to application crashes and potential denial of service conditions when processing certain files. The issue primarily affects the availability of the system, with no direct impact on confidentiality or integrity (GitHub Issue).

Mitigation and workarounds

As of the vulnerability disclosure, there is no official patch available for this issue. Users of HDF5 versions up to 1.14.6 are affected and should monitor for updates from the HDF Group (NVD).

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-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-20777MEDIUM6.7
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-20789MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-20788MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025

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