p PatchFirst

CVE-2026-26197

CVE-2026-26197 · Array full size, element count, and element size are not checked to make sure they match in H5Odtype.c

This page contains facts from public vulnerability sources. Check the original advisory before updating.

HDF5 is a high-performance library and a file format specification that implements the HDF5 data model. If a file is corrupted such that an array datatype's size, the number of elements, and the element size are not in agreement it can trigger an out of bounds read. The array datatype stores the full size of the datatype (`dt->shared->size`) separately from the number of elements (`dt->shared->u.array.nelem`) and the element size (`dt->shared->parent->shared->size`). If any one of these are corrupted so that they don't align with the others (element size * nelem = full size), it can lead to an out of bounds read. Depending on what is corrupted, it can alter the type of out of bounds read triggered. The vulnerability is present only in files that have been maliciously altered, as its generally not possible to independently alter the full size of the datatype, the element count and the element size. As such, this is only present if a malicious actor is altering files, and won't appear in regular usage.

CVSS 5.9 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • hdf5

    Versions
    • < 2.0.0: Affected

    No fix published

  • hdf5 Debian:12

    Versions
    • 1.10.10+repack-1
    • 1.10.10+repack-2
    • 1.10.10+repack-3
    • 1.10.10+repack-3.1
    • 1.10.10+repack-3.2
    • 1.10.10+repack-3.2+ports
    • 1.10.10+repack-3.3
    • 1.10.10+repack-4
    • 1.10.10+repack-5
    • 1.10.8+repack1-1
    • 1.12.0+repack-1~exp1
    • 1.12.0+repack-1~exp2
    • 1.12.2+repack-1~exp1
    • 1.14.3+repack-1~exp1
    • 1.14.3+repack1-1~exp2
    • 1.14.3+repack1-1~exp3
    • 1.14.4.3+repack-1~exp1
    • 1.14.4.3+repack-1~exp2
    • 1.14.4.3+repack-1~exp3
    • 1.14.5+repack-1
    • 1.14.5+repack-1~exp1
    • 1.14.5+repack-1~exp2
    • 1.14.5+repack-1~exp3
    • 1.14.5+repack-1~exp4
    • 1.14.5+repack-1~exp5
    • 1.14.5+repack-1~exp6
    • 1.14.5+repack-2
    • 1.14.5+repack-3
    • 1.14.5+repack-3.1
    • 1.14.5+repack-3~exp1
    • 1.14.5+repack-3~exp2
    • 1.14.5+repack-3~exp3
    • 1.14.5+repack-3~exp4
    • 1.14.5+repack-4
    • 1.14.5+repack-4~exp1
    • 1.14.5+repack-4~exp2
    • 1.14.5+repack-5~exp2
    • 1.14.5+repack-5~exp3
    • 1.14.6+repack-1
    • 1.14.6+repack-1~exp1
    • 1.14.6+repack-1~exp10
    • 1.14.6+repack-1~exp11
    • 1.14.6+repack-1~exp12
    • 1.14.6+repack-1~exp13
    • 1.14.6+repack-1~exp14
    • 1.14.6+repack-1~exp15
    • 1.14.6+repack-1~exp16
    • 1.14.6+repack-1~exp17
    • 1.14.6+repack-1~exp18
    • 1.14.6+repack-1~exp19
    • 1.14.6+repack-1~exp2
    • 1.14.6+repack-1~exp20
    • 1.14.6+repack-1~exp21
    • 1.14.6+repack-1~exp3
    • 1.14.6+repack-1~exp4
    • 1.14.6+repack-1~exp5
    • 1.14.6+repack-1~exp6
    • 1.14.6+repack-1~exp7
    • 1.14.6+repack-1~exp8
    • 1.14.6+repack-1~exp9
    • 1.14.6+repack-2
    • 1.14.6+repack-3~exp1
    • 2.1.0+repack-1
    • 2.1.0+repack-1~exp10
    • 2.1.0+repack-1~exp11
    • 2.1.0+repack-1~exp3
    • 2.1.0+repack-1~exp4
    • 2.1.0+repack-1~exp5
    • 2.1.0+repack-1~exp6
    • 2.1.0+repack-1~exp7
    • 2.1.0+repack-1~exp8
    • 2.1.0+repack-1~exp9
    • 2.2.0+repack-1
    • 2.2.0+repack-2
    • 2.2.0+repack-3
    • 2.2.0+repack-4
    • 2.2.0+repack-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hdf5 Debian:13

    Versions
    • 1.14.5+repack-3
    • 1.14.5+repack-3.1
    • 1.14.5+repack-4
    • 1.14.5+repack-4~exp1
    • 1.14.5+repack-4~exp2
    • 1.14.5+repack-5~exp2
    • 1.14.5+repack-5~exp3
    • 1.14.6+repack-1
    • 1.14.6+repack-1~exp1
    • 1.14.6+repack-1~exp10
    • 1.14.6+repack-1~exp11
    • 1.14.6+repack-1~exp12
    • 1.14.6+repack-1~exp13
    • 1.14.6+repack-1~exp14
    • 1.14.6+repack-1~exp15
    • 1.14.6+repack-1~exp16
    • 1.14.6+repack-1~exp17
    • 1.14.6+repack-1~exp18
    • 1.14.6+repack-1~exp19
    • 1.14.6+repack-1~exp2
    • 1.14.6+repack-1~exp20
    • 1.14.6+repack-1~exp21
    • 1.14.6+repack-1~exp3
    • 1.14.6+repack-1~exp4
    • 1.14.6+repack-1~exp5
    • 1.14.6+repack-1~exp6
    • 1.14.6+repack-1~exp7
    • 1.14.6+repack-1~exp8
    • 1.14.6+repack-1~exp9
    • 1.14.6+repack-2
    • 1.14.6+repack-3~exp1
    • 2.1.0+repack-1
    • 2.1.0+repack-1~exp10
    • 2.1.0+repack-1~exp11
    • 2.1.0+repack-1~exp3
    • 2.1.0+repack-1~exp4
    • 2.1.0+repack-1~exp5
    • 2.1.0+repack-1~exp6
    • 2.1.0+repack-1~exp7
    • 2.1.0+repack-1~exp8
    • 2.1.0+repack-1~exp9
    • 2.2.0+repack-1
    • 2.2.0+repack-2
    • 2.2.0+repack-3
    • 2.2.0+repack-4
    • 2.2.0+repack-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hdf5 Debian:14

    Versions
    • 1.14.5+repack-3
    • 1.14.5+repack-3.1
    • 1.14.5+repack-4
    • 1.14.5+repack-4~exp1
    • 1.14.5+repack-4~exp2
    • 1.14.5+repack-5~exp2
    • 1.14.5+repack-5~exp3
    • 1.14.6+repack-1
    • 1.14.6+repack-1~exp1
    • 1.14.6+repack-1~exp10
    • 1.14.6+repack-1~exp11
    • 1.14.6+repack-1~exp12
    • 1.14.6+repack-1~exp13
    • 1.14.6+repack-1~exp14
    • 1.14.6+repack-1~exp15
    • 1.14.6+repack-1~exp16
    • 1.14.6+repack-1~exp17
    • 1.14.6+repack-1~exp18
    • 1.14.6+repack-1~exp19
    • 1.14.6+repack-1~exp2
    • 1.14.6+repack-1~exp20
    • 1.14.6+repack-1~exp21
    • 1.14.6+repack-1~exp3
    • 1.14.6+repack-1~exp4
    • 1.14.6+repack-1~exp5
    • 1.14.6+repack-1~exp6
    • 1.14.6+repack-1~exp7
    • 1.14.6+repack-1~exp8
    • 1.14.6+repack-1~exp9
    • 1.14.6+repack-2
    • 1.14.6+repack-3~exp1
    • 2.1.0+repack-1~exp10
    • 2.1.0+repack-1~exp11
    • 2.1.0+repack-1~exp3
    • 2.1.0+repack-1~exp4
    • 2.1.0+repack-1~exp5
    • 2.1.0+repack-1~exp6
    • 2.1.0+repack-1~exp7
    • 2.1.0+repack-1~exp8
    • 2.1.0+repack-1~exp9
    Affected ranges
    • ECOSYSTEM: < 2.1.0+repack-1

    Update to 2.1.0+repack-1

  • hdf5 Ubuntu:Pro:14.04:LTS

    Versions
    • 1.8.11-3ubuntu1
    • 1.8.11-5ubuntu1
    • 1.8.11-5ubuntu2
    • 1.8.11-5ubuntu6
    • 1.8.11-5ubuntu7
    • 1.8.11-5ubuntu7.1
    • 1.8.11-5ubuntu7.1+esm1
    • 1.8.11-5ubuntu7.1+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hdf5 Ubuntu:Pro:16.04:LTS

    Versions
    • 1.8.15-patch1+docs-4
    • 1.8.15-patch1+docs-5
    • 1.8.16+docs-1
    • 1.8.16+docs-2
    • 1.8.16+docs-3
    • 1.8.16+docs-3ubuntu1
    • 1.8.16+docs-4
    • 1.8.16+docs-4ubuntu1
    • 1.8.16+docs-4ubuntu1.1
    • 1.8.16+docs-4ubuntu1.1+esm1
    • 1.8.16+docs-4ubuntu1.1+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hdf5 Ubuntu:Pro:18.04:LTS

    Versions
    • 1.10.0-patch1+docs-4
    • 1.10.0-patch1+docs-4ubuntu0.1~esm1
    • 1.10.0-patch1+docs-4ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hdf5 Ubuntu:Pro:20.04:LTS

    Versions
    • 1.10.4+repack-10
    • 1.10.4+repack-11
    • 1.10.4+repack-11ubuntu1
    • 1.10.4+repack-11ubuntu1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hdf5 Ubuntu:22.04:LTS

    Versions
    • 1.10.6+repack-5
    • 1.10.7+repack-4ubuntu1
    • 1.10.7+repack-4ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hdf5 Ubuntu:24.04:LTS

    Versions
    • 1.10.8+repack1-1ubuntu1
    • 1.10.10+repack-3ubuntu1
    • 1.10.10+repack-3.1ubuntu3
    • 1.10.10+repack-3.1ubuntu4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hdf5 Ubuntu:26.10

    Versions
    • 1.14.6+repack-2
    • 2.2.0+repack-4
    • 2.2.0+repack-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hdf5 Ubuntu:26.04:LTS

    Versions
    • 1.14.5+repack-3build1
    • 1.14.5+repack-4
    • 1.14.6+repack-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →