Intel

AIKIDO-2026-156336

hdf5 is vulnerable to Out-of-bounds Write

CVE-2020-18494Published Nov 5, 2026
November 5, 2026

88

CVE Score

High

Out-of-bounds Write

Are you affected? Scan for Free

TL;DR

hdf5 lets a crafted file crash the process or run arbitrary code. H5O__efl_decode trusted the slot counts and heap address in an external file list object header message and called assert() on bad values. Feeding the file to h5repack triggers the bug in H5F__close and leaks the decoded entry memory. The fix replaces those asserts with error checks, bounds the decode against the buffer size, and frees the partial message on failure.

How do I fix this?

Upgrade hdf5 to the patched version. Until then, do not run h5repack on untrusted files.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and an attacker can get you to open a crafted HDF5 file, for example with h5repack or any code that decodes external file list messages.

Package

hdf5

Versions

1.0.0 - 1.10.10

Fixed in 1.10.11

1.12.0 - 1.12.2

Fixed in 1.12.3

1.14.0 - 1.14.0

Fixed in 1.14.1

Background info

hdf5 is vulnerable to Out-of-bounds Write in versions 1.0.0 - 1.10.10, 1.12.0 - 1.12.2 and 1.14.0 - 1.14.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea