cve.bz

CVE-2026-19025 the hdf group hdf5: Divide By Zero

6.8 mediumEPSS 0.2%

Medium (6.8) in the hdf group hdf5. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
H5O__layout_decode in H5Olayout.c in HDF5 through 2.3.0 does not validate that a chunked dataset's stored chunk-layout dimensionality matches its dataspace rank when an existing dataset is opened, whereas this check is performed only at dataset-creation time. This allows attackers to cause a denial of service (divide-by-zero and application crash in H5S__hyper_iter_get_seq_list in src/H5Shyper.c) via a crafted HDF5 file with mismatched chunk/dataspace ranks that is opened and read via H5Dopen2 and H5Dread, e.g. by the h5repack tool.

Severity

CVSS 4.0

6.8 medium
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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-369 Divide By Zero
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-19025 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-19025?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-19025?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-19025 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The HDF Group HDF5<= 2.3.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14hdf5no fix listedDEBIAN-CVE-2026-19025
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 5 morehdf5no fix listedUBUNTU-CVE-2026-19025
Red Hathummingbird:1hdf5, java-hdf5, hdf5-devel and 7 more0:2.2.0-0.1.1.hum1RHSA-2026:61630
Azure Linux3hdf51.14.6-6AZL-94490

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw was found in HDF5's H5O__layout_decode() function. When opening an existing dataset, HDF5 fails to validate that a chunked dataset's stored chunk-layout dimensionality matches its dataspace rank. An attacker can craft a malicious HDF5 file with mismatched dimensionality and trick a user or application into opening and reading it via functions like H5Dopen2() or utilities like h5repack. Processing this file triggers a divide-by-zero arithmetic exception in H5S__hyper_iter_get_seq_list(), resulting in an immediate application crash and denial of service.

Red Hat's mitigation

Do not open or process untrusted HDF5 files using applications or utilities (such as h5repack) linked against vulnerable versions of the HDF5 library. Ensure files originate from trusted sources or isolate untrusted file parsing within a sandboxed environment.

ProductPackageStateAdvisory
Red Hat Hardened Imageshdf5-main-2.2.0-0.1.1.hum1Fixed 2026-08-31RHSA-2026:61630
Red Hat Enterprise Linux AI (RHEL AI) 3hdf5Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-19025.

References

Check your stackJSON