cve.bz

CVE-2026-19027 the hdf group hdf5: Out-of-bounds Read

6.9 mediumEPSS 0.2%

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

On this page
The H5Z__nbit_decompress_one_byte, H5Z__nbit_decompress_one_nooptype, and H5Z__nbit_decompress_one_atomic functions in H5Znbit.c in HDF5 prior to 2.3.0 advance a read index into the compressed chunk buffer without bounding it against the buffer's actual size. This allows attackers to cause an out-of-bounds heap read, and in constrained cases disclosure of adjacent heap memory into decompressed dataset values, via a crafted HDF5 file whose N-Bit filter parameters describe more decompressed data than the stored compressed chunk actually contains, triggered via H5Dread, e.g. by the h5ls or h5repack tools.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/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; 9th 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-125 Out-of-bounds Read
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-19027 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-19027?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-19027?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-19027 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-19027
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 5 morehdf5no fix listedUBUNTU-CVE-2026-19027
Red Hathummingbird:1hdf5, java-hdf5, hdf5-devel and 7 more0:2.2.0-0.1.2.hum1RHSA-2026:73539
Azure Linux3hdf51.14.6-6AZL-94496

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 boundary validation flaw exists in the N-Bit decompression routines (H5Z__nbit_decompress_one_*) within the HDF5 library. When processing datasets via H5Dread(), the functions fail to bound the read index against the compressed buffer size. An attacker can exploit this by enticing a user or automated service to open a crafted HDF5 file with mismatched N-Bit filter parameters, causing a heap out-of-bounds read. This flaw primarily impacts system availability via application crashes, with a secondary risk of minor heap memory disclosure.

Red Hat's mitigation

Do not open or process untrusted HDF5 files from unverified sources using tools or services linked against the HDF5 library. Enforce strict file-ingestion boundaries or access controls to prevent automated parsing of untrusted datasets.

ProductPackageStateAdvisory
Red Hat Hardened Imageshdf5-main-2.2.0-0.1.2.hum1Fixed 2026-09-29RHSA-2026:73539
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-19027.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON