Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-4332

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-4332
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:23 UTC · Revision 1

Source evidence

CVE-2016-4332

core-osv · Original source

Published 18 Nov 2016, 20:59 UTC

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.

osv:CVE-2016-4332
Complete source record
{
  "id": "4ad2b03cfaf82510de2b86a297e85c0fa93a2e56c784bc0e641ec31ab345943d",
  "url": "https://osv.dev/vulnerability/CVE-2016-4332",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-4332",
    "summary": "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.",
    "evidence": "osv:CVE-2016-4332",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2016-4332",
      "aliases": [
        "CVE-2016-4332"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hdfgroup/hdf5",
              "type": "GIT",
              "events": [
                {
                  "introduced": "28cd632b8d7a280b44cc4d2e18a01a0319d0275d"
                },
                {
                  "last_affected": "28cd632b8d7a280b44cc4d2e18a01a0319d0275d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:hdfgroup:hdf5:1.8.16:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.8.16"
                      },
                      {
                        "last_affected": "1.8.16"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.8.16",
            "hdf5-1_8_16"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-4332.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:18.312943751Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201701-13"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-4332",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429746,
  "published_at": "2016-11-18T20:59:03.693+00:00"
}