CVE-2025-2310
NixOS vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2025-2310) was discovered in HDF5 version 1.14.6, specifically affecting the H5MM_strndup function within the Metadata Attribute Decoder component. The vulnerability was identified in March 2025, though its status is currently disputed. The vendor was contacted regarding this vulnerability but rejected it without providing detailed explanation (VulDB Submit).

Technical details

The vulnerability is classified as a heap-based buffer overflow that occurs when the library attempts to read 5 bytes of data beyond the bounds of an allocated 320-byte heap memory region during the decoding of attribute metadata. The issue specifically manifests in the strndup function called by H5MM_strndup. The vulnerability has received a CVSS v4.0 score of 4.8 (Medium) with vector CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N, and a CVSS v3.1 score of 5.3 (Medium) (NVD CVE).

Impact

The heap-based buffer overflow vulnerability could potentially lead to memory corruption, application crashes, or in more severe cases, arbitrary code execution. The impact is somewhat mitigated by the fact that local access is required to exploit the vulnerability (GitHub POC).

Mitigation and workarounds

Currently, there are no official patches or fixes available as the vendor has disputed the vulnerability. The vendor was contacted about this issue but rejected it without providing a detailed explanation. Users are advised to monitor for updates from the HDF Group regarding this vulnerability (NVD CVE).

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-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 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