{"id":"CVE-2016-4332","aliases":["DEBIAN-CVE-2016-4332","DLA-771-1","DSA-3727-1","EUVD-2016-5332","GHSA-349c-4hpx-25pr","MGASA-2016-0425","SUSE-SU-2024:0538-1","SUSE-SU-2024:0882-1","SUSE-SU-2024:3144-1","UBUNTU-CVE-2016-4332","openSUSE-SU-2018:1051-1","openSUSE-SU-2018:1056-1"],"status":"published","title":"The library's failure to check if certain message types support a particular flag, the HDF5 1.8...","description":"The library's failure to check if certain message types support a particular flag, the HDF5 1.8.16 library will cast the structure to an alternative structure and then assign to fields that aren't supported by the message type and the library will write outside the bounds of the heap buffer. This can lead to code execution under the context of the library.","severity":{"version":"3.0","score":8.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00812,"percentile":0.5721,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2016-11-18T20:00:00Z","modified":"2026-10-24T10:30:18Z","fixes":[{"ecosystem":"Debian:12","package":"hdf5","fixed_in":["1.10.0-patch1+docs-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"hdf5","fixed_in":["1.10.0-patch1+docs-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"hdf5","fixed_in":["1.10.0-patch1+docs-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"hdf5","fixed_in":["1.8.11-5ubuntu7.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"hdf5","fixed_in":["1.8.16+docs-4ubuntu1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-patch1+docs-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-patch1+docs-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-patch1+docs-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.8-9+deb7u1"}]}],"versions":["1.8.8-9"],"bundled":4},{"source":"osv","ecosystem":"Debian:8","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.13+docs-15+deb8u1"}]}],"versions":["1.8.13+docs-15"],"bundled":4},{"source":"osv","ecosystem":"Mageia:5","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.13-4.1.mga5"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP5","package":"hdf5_1_10_11-gnu-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP5","package":"hdf5_1_10_11-gnu-mpich-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP5","package":"hdf5_1_10_11-gnu-mvapich2-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP5","package":"hdf5_1_10_11-gnu-openmpi3-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP5","package":"hdf5_1_10_11-gnu-openmpi4-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","package":"hdf5_1_10_11-gnu-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","package":"hdf5_1_10_11-gnu-mpich-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","package":"hdf5_1_10_11-gnu-mvapich2-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","package":"hdf5_1_10_11-gnu-openmpi3-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","package":"hdf5_1_10_11-gnu-openmpi4-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"hdf5_1_10_11-gnu-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"hdf5_1_10_11-gnu-mpich-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"hdf5_1_10_11-gnu-mvapich2-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"hdf5_1_10_11-gnu-openmpi3-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"hdf5_1_10_11-gnu-openmpi4-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150400.3.12.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"hdf5_1_10_11-gnu-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-3.21.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"hdf5_1_10_11-gnu-mvapich2-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-3.21.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for HPC 12","package":"hdf5_1_10_11-gnu-openmpi1-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-3.21.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"adios_1_13_1-gnu-mpich-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-150300.12.4.2"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"adios_1_13_1-gnu-mvapich2-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-150300.12.4.2"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"adios_1_13_1-gnu-openmpi3-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-150300.12.4.2"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"adios_1_13_1-gnu-openmpi4-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-150300.12.4.2"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"hdf5_1_10_11-gnu-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150300.4.16.15"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"hdf5_1_10_11-gnu-mpich-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150300.4.16.15"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"hdf5_1_10_11-gnu-mvapich2-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150300.4.16.15"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"hdf5_1_10_11-gnu-openmpi3-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150300.4.16.15"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"hdf5_1_10_11-gnu-openmpi4-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.11-150300.4.16.15"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"netcdf_4_7_4-gnu-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.4-150300.4.7.19"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"netcdf_4_7_4-gnu-mpich-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.4-150300.4.7.19"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"netcdf_4_7_4-gnu-mvapich2-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.4-150300.4.7.20"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"netcdf_4_7_4-gnu-openmpi3-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.4-150300.4.7.17"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"netcdf_4_7_4-gnu-openmpi4-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.4-150300.4.7.21"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"petsc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.5-150300.3.4.3"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"petsc_3_14_5-gnu-mpich-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.5-150300.3.4.4"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"petsc_3_14_5-gnu-mvapich2-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.5-150300.3.4.4"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"petsc_3_14_5-gnu-openmpi3-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.5-150300.3.4.4"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"petsc_3_14_5-gnu-openmpi4-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.5-150300.3.4.4"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"trilinos_13_2_0-gnu-mpich-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2.0-150300.3.12.18"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"trilinos_13_2_0-gnu-mvapich2-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2.0-150300.3.12.18"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"trilinos_13_2_0-gnu-openmpi3-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2.0-150300.3.12.16"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"trilinos_13_2_0-gnu-openmpi4-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2.0-150300.3.12.18"}]}],"bundled":18},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"trilinos_13_2_0-hpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2.0-150300.3.12.9"}]}],"bundled":18},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.11-5ubuntu7.1"}]}],"versions":["1.8.11-3ubuntu1","1.8.11-5ubuntu1","1.8.11-5ubuntu2","1.8.11-5ubuntu6","1.8.11-5ubuntu7"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.16+docs-4ubuntu1.1"}]}],"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"]},{"source":"osv","ecosystem":"SUSE:Package Hub 12","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.17-5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Package Hub 12","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.17-5.1"}]}],"bundled":4}],"products":[{"vendor":"hdfgroup","product":"hdf5"}],"references":[{"url":"http://www.securityfocus.com/bid/94417","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/201701-13","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.debian.org/security/2016/dsa-3727","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.talosintelligence.com/reports/TALOS-2016-0178/","tags":["x_refsource_MISC","x_transferred","Exploit","Technical Description","Third Party Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4332"},{"url":"http://www.talosintelligence.com/reports/TALOS-2016-0178"},{"url":"https://github.com/advisories/GHSA-349c-4hpx-25pr"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-4332","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2016-0425.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19874","tags":["report"]},{"url":"https://www.debian.org/security/2016/dsa-3727","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20240538-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1011205","tags":["report"]},{"url":"https://bugzilla.suse.com/1093641","tags":["report"]},{"url":"https://bugzilla.suse.com/1125882","tags":["report"]},{"url":"https://bugzilla.suse.com/1167400","tags":["report"]},{"url":"https://bugzilla.suse.com/1207973","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-4332","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-11202","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-8396","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-10812","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-37501","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20240882-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1209548","tags":["report"]},{"url":"https://bugzilla.suse.com/133222","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243144-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1133222","tags":["report"]},{"url":"https://bugzilla.suse.com/1210049","tags":["report"]},{"url":"https://bugzilla.suse.com/1224158","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17507","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-11205","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-29158","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-29161","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-29166","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-32608","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-32610","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-32614","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-32619","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-32620","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-33873","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-33874","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-33875","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-4332","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-4332","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/ADT5SMRZ6XHJ7MWZM2M4QHUERTTZZSIJ/#ADT5SMRZ6XHJ7MWZM2M4QHUERTTZZSIJ","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1011198","tags":["report"]},{"url":"https://bugzilla.suse.com/1011201","tags":["report"]},{"url":"https://bugzilla.suse.com/1011204","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-4330","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-4331","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-4333","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/Q6WDDNJ3NEYHLHLN6YSKTURIF42SBRMI/#Q6WDDNJ3NEYHLHLN6YSKTURIF42SBRMI","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2016-4332","description":"The library's failure to check if certain message types support a particular flag, the HDF5 1.8.16 library will cast the structure to an alternative structure and then assign to fields that aren't supported by the message type and the library will write outside the bounds of the heap buffer. This can lead to code execution under the context of the library.","status":"published","published":"2016-11-18T20:00:00Z","modified":"2024-08-06T00:25:14.444Z","updated_at":"2026-11-02T14:33:35.149563Z"}],"euvd":[{"id":"EUVD-2016-5332","description":"The library's failure to check if certain message types support a particular flag, the HDF5 1.8.16 library will cast the structure to an alternative structure and then assign to fields that aren't supported by the message type and the library will write outside the bounds of the heap buffer. This can lead to code execution under the context of the library.","status":"published","published":"2016-11-18T20:00:00Z","modified":"2024-08-06T00:25:14Z","updated_at":"2026-11-03T02:22:46.750795Z"}],"ghsa":[{"id":"GHSA-349c-4hpx-25pr","title":"The library's failure to check if certain message types support a particular flag, the HDF5 1.8...","description":"The library's failure to check if certain message types support a particular flag, the HDF5 1.8.16 library will cast the structure to an alternative structure and then assign to fields that aren't supported by the message type and the library will write outside the bounds of the heap buffer. This can lead to code execution under the context of the library.","status":"published","published":"2022-05-17T00:27:23Z","modified":"2025-04-12T13:07:38Z","cvss":[{"version":"3.0","score":8.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:01:30.348567Z"}],"nvd":[{"id":"CVE-2016-4332","description":"The library's failure to check if certain message types support a particular flag, the HDF5 1.8.16 library will cast the structure to an alternative structure and then assign to fields that aren't supported by the message type and the library will write outside the bounds of the heap buffer. This can lead to code execution under the context of the library.","status":"published","published":"2016-11-18T20:59:03.693Z","modified":"2026-06-17T00:47:21.79Z","cvss":[{"version":"3.0","score":8.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:03:32.086916Z"}],"osv":[{"id":"CVE-2016-4332","description":"The library's failure to check if certain message types support a particular flag, the HDF5 1.8.16 library will cast the structure to an alternative structure and then assign to fields that aren't supported by the message type and the library will write outside the bounds of the heap buffer. This can lead to code execution under the context of the library.","status":"published","published":"2016-11-18T20:59:03.693Z","modified":"2026-10-24T10:30:18.312943751Z","cvss":[{"version":"3.0","score":8.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:02.454775Z"},{"id":"DEBIAN-CVE-2016-4332","description":"The library's failure to check if certain message types support a particular flag, the HDF5 1.8.16 library will cast the structure to an alternative structure and then assign to fields that aren't supported by the message type and the library will write outside the bounds of the heap buffer. This can lead to code execution under the context of the library.","status":"published","published":"2016-11-18T20:59:03.693Z","modified":"2026-09-22T07:01:02.875579978Z","cvss":[{"version":"3.0","score":8.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:27.627285Z"},{"id":"UBUNTU-CVE-2016-4332","description":"The library's failure to check if certain message types support a particular flag, the HDF5 1.8.16 library will cast the structure to an alternative structure and then assign to fields that aren't supported by the message type and the library will write outside the bounds of the heap buffer. This can lead to code execution under the context of the library.","status":"published","published":"2016-11-18T20:59:00Z","modified":"2026-04-22T10:43:27.687197Z","cvss":[{"version":"3.0","score":8.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:12.261906Z"},{"id":"DLA-771-1","title":"hdf5 - security update","status":"published","published":"2016-12-31T00:00:00Z","modified":"2026-03-09T02:11:28.323644Z","updated_at":"2026-11-02T15:46:13.207219Z"},{"id":"DSA-3727-1","title":"hdf5 - security update","status":"published","published":"2016-11-30T00:00:00Z","modified":"2026-03-09T01:21:40.333145Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2016-0425","title":"Updated hdf5 packages fix security vulnerabilities","description":"In the HDF5 1.8.16 library's failure to check if the number of\ndimensions  for an array read from the file is within the bounds of the\nspace allocated for it, a heap-based buffer overflow will occur,\npotentially leading to arbitrary code execution (CVE-2016-4330).\n\nWhen decoding data out of a dataset encoded with the H5Z_NBIT decoding,\nthe HDF5 1.8.16 library will fail to ensure that the precision is within\nthe bounds of the size leading to arbitrary code execution\n(CVE-2016-4331).\n\nThe library's failure to check if certain message types support a\nparticular flag, the HDF5 1.8.16 library will cast the structure to an\nalternative structure and then assign to fields that aren't supported by\nthe message type and the library will write outside the bounds of the\nheap buffer. This can lead to code execution under the context of the\nlibrary (CVE-2016-4332).\n\nThe HDF5 1.8.16 library allocating space for the array using a value\nfrom the file has an impact within the loop for initializing said array\nallowing a value within the file to modify the loop's terminator. Due to\nthis, an aggressor can cause the loop's index to point outside the\nbounds of the array when initializing it (CVE-2016-4333).\n","status":"published","published":"2016-12-29T10:29:11Z","modified":"2026-04-16T06:23:47.695595463Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"openSUSE-SU-2018:1051-1","title":"Security update for hdf5","description":"This update for hdf5 fixes the following issues:\n\n- fix security issues (arbitary code execution):\n  CVE-2016-4330: H5T_ARRAY Code Execution (boo#1011201)\n  CVE-2016-4331: H5Z_NBIT Code Execution (boo#1011204)\n  CVE-2016-4332: Shareable Message Type Code Execution (boo#1011205)\n  CVE-2016-4333: Array index bounds issue (boo#1011198)\n","status":"published","published":"2018-04-23T21:43:02Z","modified":"2026-02-04T02:29:23.44595Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"openSUSE-SU-2018:1056-1","title":"Security update for hdf5","description":"This update for hdf5 fixes the following issues:\n\n- fix security issues (arbitary code execution):\n  CVE-2016-4330: H5T_ARRAY Code Execution (boo#1011201)\n  CVE-2016-4331: H5Z_NBIT Code Execution (boo#1011204)\n  CVE-2016-4332: Shareable Message Type Code Execution (boo#1011205)\n  CVE-2016-4333: Array index bounds issue (boo#1011198)\n","status":"published","published":"2018-04-23T21:43:02Z","modified":"2026-02-04T02:43:10.210718Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"SUSE-SU-2024:0538-1","title":"Security update for hdf5","description":"This update for hdf5 fixes the following issues:\n\nUpdated to version 1.10.11\n\n  * Changed the error handling for a not found path in the find\n    plugin process.\n  * Fixed CVE-2018-11202, a malformed file could result in chunk\n    index memory leaks.\n  * Fixed a file space allocation bug in the parallel library for\n    chunked datasets.\n  * Fixed an assertion failure in Parallel HDF5 when a file can't\n    be created due to an invalid library version bounds setting.\n  * Fixed an assertion in a previous fix for CVE-2016-4332.\n  * Fixed segfault on file close in h5debug which fails with a core\n    dump on a file that has an illegal file size in its cache image.\n    Fixes HDFFV-11052, CVE-2020-10812.\n  * Fixed memory leaks that could occur when reading a dataset from\n    a malformed file.\n  * Fixed a bug in H5Ocopy that could generate invalid HDF5 files\n  * Fixed potential heap buffer overflow in decoding of link info\n    message.\n  * Fixed potential buffer overrun issues in some object header\n    decode routines.\n  * Fixed a heap buffer overflow that occurs when reading from\n    a dataset with a compact layout within a malformed HDF5 file.\n  * Fixed CVE-2019-8396, malformed HDF5 files where content does\n    not match expected size.\n  * Fixed memory leak when running h5dump with proof of\n    vulnerability file.\n  * Added option --no-compact-subset to h5diff.\n\nFixes since 1.10.10:\n\n  * Fixed a memory corruption when reading from dataset using a\n    hyperslab selection in file dataspace and a point selection\n    memory dataspace.\n  * Fix CVE-2021-37501\n  * Fixed an issue with variable length attributes.\n  * Fixed an issue with hyperslab selections where an incorrect\n    combined selection was produced.\n  * Fixed an issue with attribute type conversion with compound\n    datatypes.\n  * Modified H5Fstart_swmr_write() to preserve DAPL properties.\n  * Converted an assertion on (possibly corrupt) file contents to\n    a normal error check.\n  * Fixed memory leak with variable-length fill value in\n    H5O_fill_convert().\n  * Fix h5repack to only print output when verbose option is\n    selected.\n\nFixes since 1.10.9:\n\n  * Several improvements to parallel compression feature,\n    including:\n    + Improved support for collective I/O (for both writes and\n      reads).\n    + Reduction of copying of application data buffers passed to\n      H5Dwrite.\n    + Addition of support for incremental file space allocation\n      for filtered datasets created in parallel.\n    + Addition of support for HDF5's 'don't filter partial edge\n      chunks' flag\n    + Addition of proper support for HDF5 fill values with the\n      feature.\n    + Addition of 'H5_HAVE_PARALLEL_FILTERED_WRITES' macro to\n      H5pubconf.h\n      so HDF5 applications can determine at compile-time whether\n      the feature is available.\n    + Addition of simple examples\n  * h5repack added an optional verbose value for reporting R/W\n    timing.\n  * Fixed a metadata cache bug when resizing a pinned/protected\n    cache entry.\n  * Fixed a problem with the H5_VERS_RELEASE check in the\n    H5check_version function.\n  * Unified handling of collective metadata reads to correctly fix\n    old bugs.\n  * Fixed several potential MPI deadlocks in library failure\n    conditions.\n  * Fixed an issue with collective metadata reads being permanently\n    disabled after a dataset chunk lookup operation.\n","status":"published","published":"2024-02-20T13:43:58Z","modified":"2026-02-04T04:16:19.128147Z","updated_at":"2026-11-02T15:53:54.239786Z"},{"id":"SUSE-SU-2024:0882-1","title":"Security update for hdf5","description":"This update for hdf5 fixes the following issues:\n\nUpdated to version 1.10.11\n\n  * Changed the error handling for a not found path in the find\n    plugin process.\n  * Fixed CVE-2018-11202, a malformed file could result in chunk\n    index memory leaks.\n  * Fixed a file space allocation bug in the parallel library for\n    chunked datasets.\n  * Fixed an assertion failure in Parallel HDF5 when a file can't\n    be created due to an invalid library version bounds setting.\n  * Fixed an assertion in a previous fix for CVE-2016-4332.\n  * Fixed segfault on file close in h5debug which fails with a core\n    dump on a file that has an illegal file size in its cache image.\n    Fixes HDFFV-11052, CVE-2020-10812.\n  * Fixed memory leaks that could occur when reading a dataset from\n    a malformed file.\n  * Fixed a bug in H5Ocopy that could generate invalid HDF5 files\n  * Fixed potential heap buffer overflow in decoding of link info\n    message.\n  * Fixed potential buffer overrun issues in some object header\n    decode routines.\n  * Fixed a heap buffer overflow that occurs when reading from\n    a dataset with a compact layout within a malformed HDF5 file.\n  * Fixed CVE-2019-8396, malformed HDF5 files where content does\n    not match expected size.\n  * Fixed memory leak when running h5dump with proof of\n    vulnerability file.\n  * Added option --no-compact-subset to h5diff.\n\nFixes since 1.10.10:\n\n  * Fixed a memory corruption when reading from dataset using a\n    hyperslab selection in file dataspace and a point selection\n    memory dataspace.\n  * Fix CVE-2021-37501\n  * Fixed an issue with variable length attributes.\n  * Fixed an issue with hyperslab selections where an incorrect\n    combined selection was produced.\n  * Fixed an issue with attribute type conversion with compound\n    datatypes.\n  * Modified H5Fstart_swmr_write() to preserve DAPL properties.\n  * Converted an assertion on (possibly corrupt) file contents to\n    a normal error check.\n  * Fixed memory leak with variable-length fill value in\n    H5O_fill_convert().\n  * Fix h5repack to only print output when verbose option is\n    selected.\n\nFixes since 1.10.9:\n\n  * Several improvements to parallel compression feature,\n    including:\n    + Improved support for collective I/O (for both writes and\n      reads).\n    + Reduction of copying of application data buffers passed to\n      H5Dwrite.\n    + Addition of support for incremental file space allocation\n      for filtered datasets created in parallel.\n    + Addition of support for HDF5's 'don't filter partial edge\n      chunks' flag\n    + Addition of proper support for HDF5 fill values with the\n      feature.\n    + Addition of 'H5_HAVE_PARALLEL_FILTERED_WRITES' macro to\n      H5pubconf.h\n      so HDF5 applications can determine at compile-time whether\n      the feature is available.\n    + Addition of simple examples\n  * h5repack added an optional verbose value for reporting R/W\n    timing.\n  * Fixed a metadata cache bug when resizing a pinned/protected\n    cache entry.\n  * Fixed a problem with the H5_VERS_RELEASE check in the\n    H5check_version function.\n  * Unified handling of collective metadata reads to correctly fix\n    old bugs.\n  * Fixed several potential MPI deadlocks in library failure\n    conditions.\n  * Fixed an issue with collective metadata reads being permanently\n    disabled after a dataset chunk lookup operation.\n\n- Remove timestamp/buildhost/kernel version from libhdf5.settings (bsc#1209548).\n\n- set higher constraints for succesfull mpich tests (bsc#133222)","status":"published","published":"2024-03-14T10:33:28Z","modified":"2026-02-04T02:36:13.577796Z","updated_at":"2026-11-02T15:53:54.239786Z"},{"id":"SUSE-SU-2024:3144-1","title":"Security update for hdf5, netcdf, trilinos ","description":"This update for hdf5, netcdf, trilinos fixes the following issues:\n\nhdf5 was updated from version 1.10.8 to 1.10.11:\n\n- Security issues fixed:\n\n  * CVE-2019-8396: Fixed problems with malformed HDF5 files where content does not match expected size. (bsc#1125882)\n  * CVE-2018-11202: Fixed that a malformed file could result in chunk index memory leaks. (bsc#1093641)\n  * CVE-2016-4332: Fixed an assertion in a previous fix for this issue (bsc#1011205).\n  * CVE-2020-10812: Fixed a segfault on file close in h5debug which fails with a core dump on a file that has an illegal\n    file size in its cache image.Fixes HDFFV-11052, (bsc#1167400).\n  * CVE-2021-37501: Fixed buffer overflow in hdf5-h5dump (bsc#1207973)\n  * Other security issues fixed (bsc#1224158):\n\n    +  CVE-2024-29158, CVE-2024-29161, CVE-2024-29166, CVE-2024-32608,\n    +  CVE-2024-32610, CVE-2024-32614, CVE-2024-32619, CVE-2024-32620,\n    +  CVE-2024-33873, CVE-2024-33874, CVE-2024-33875\n    +  Additionally, these fixes resolve crashes triggered by the\n       reproducers for CVE-2017-17507, CVE-2018-11205. These crashes\n       appear to be unrelated to the original problems\n\n- Other issues fixed:\n\n  * Remove timestamp/buildhost/kernel version from libhdf5.settings (bsc#1209548)\n  * Changed the error handling for a not found path in the find plugin process.\n  * Fixed a file space allocation bug in the parallel library for chunked datasets.\n  * Fixed an assertion failure in Parallel HDF5 when a file can't be created due to an invalid library version bounds\n    setting.\n  * Fixed memory leaks that could occur when reading a dataset from a malformed file.\n  * Fixed a bug in H5Ocopy that could generate invalid HDF5 files\n  * Fixed potential heap buffer overflow in decoding of link info message.\n  * Fixed potential buffer overrun issues in some object header decode routines.\n  * Fixed a heap buffer overflow that occurs when reading from a dataset with a compact layout within a malformed HDF5\n    file.\n  * Fixed memory leak when running h5dump with proof of vulnerability file.\n  * Added option --no-compact-subset to h5diff\n  * Several improvements to parallel compression feature, including:\n\n    + Improved support for collective I/O (for both writes and reads).\n    + Reduction of copying of application data buffers passed to H5Dwrite.\n    + Addition of support for incremental file space allocation for filtered datasets created in parallel.\n    + Addition of support for HDF5's 'don't filter partial edge chunks' flag\n    + Addition of proper support for HDF5 fill values with the feature.\n    + Addition of 'H5_HAVE_PARALLEL_FILTERED_WRITES' macro toH5pubconf.h so HDF5 applications can determine at\n      compile-time whether the feature is available.\n    + Addition of simple examples\n\n  * h5repack added an optional verbose value for reporting R/W timing.\n  * Fixed a metadata cache bug when resizing a pinned/protected cache entry.\n  * Fixed a problem with the H5_VERS_RELEASE check in the H5check_version function.\n  * Unified handling of collective metadata reads to correctly fix old bugs.\n  * Fixed several potential MPI deadlocks in library failure conditions.\n  * Fixed an issue with collective metadata reads being permanently disabled after a dataset chunk lookup operation.\n\nnetcdf was updated to fix:\n\n- rebuild against new hdf5 library version.\n\ntrilinos was updated to fix:\n\n- Rebuild against new hdf5 library version.\n- Fix dependency in module file for MPI version of Trilinos to depend on the correct version of netcdf (bsc#1210049).\n  This prevents the error message:\n  'Lmod has detected the following error: These module(s) or\n   extension(s) exist but cannot be loaded as requested: 'trilinos'\n","status":"published","published":"2024-09-05T06:31:59Z","modified":"2026-02-04T03:54:00.430805Z","updated_at":"2026-11-02T15:53:55.136363Z"}]}}
