Skip to content
Heist/ feed
Back to feed
Low

HDF5 H5Fint.c H5F_addr_decode_len heap-based overflow

Type: advisorySources: OSV

A vulnerability has been found in HDF5 up to 1.14.6 and classified as critical. This vulnerability affects the function H5F_addr_decode_len of the file /hdf5/src/H5Fint.c. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-6516
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 05:03 UTC · Revision 1

Source evidence

HDF5 H5Fint.c H5F_addr_decode_len heap-based overflow

core-osv · Original source

Published 23 Jun 2025, 17:00 UTC

A vulnerability has been found in HDF5 up to 1.14.6 and classified as critical. This vulnerability affects the function H5F_addr_decode_len of the file /hdf5/src/H5Fint.c. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

osv:CVE-2025-6516
Complete source record
{
  "id": "7f5ec792251ed31d1dfcd0d680fddd395c870236afb2235abacf883600c7cff2",
  "url": "https://osv.dev/vulnerability/CVE-2025-6516",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HDF5 H5Fint.c H5F_addr_decode_len heap-based overflow",
    "summary": "A vulnerability has been found in HDF5 up to 1.14.6 and classified as critical. This vulnerability affects the function H5F_addr_decode_len of the file /hdf5/src/H5Fint.c. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.",
    "evidence": "osv:CVE-2025-6516",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-6516",
      "aliases": [
        "CVE-2025-6516"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hdfgroup/hdf5",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0553fb7ac7f03a919c91cdbbd5648b8aadbe05af"
                },
                {
                  "last_affected": "7bf340440909d468dbb3cf41f0ea0d87f5050cea"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.14.0"
                      },
                      {
                        "last_affected": "1.14.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.14.1"
                      },
                      {
                        "last_affected": "1.14.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.14.2"
                      },
                      {
                        "last_affected": "1.14.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.14.3"
                      },
                      {
                        "last_affected": "1.14.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.14.4"
                      },
                      {
                        "last_affected": "1.14.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.14.5"
                      },
                      {
                        "last_affected": "1.14.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.14.6"
                      },
                      {
                        "last_affected": "1.14.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.14.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.14.0",
            "1.14.1",
            "1.14.2",
            "1.14.3",
            "1.14.4",
            "1.14.5",
            "1.14.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6516.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.410252754Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6516.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-6516",
        "https://vuldb.com/?id.313636",
        "https://vuldb.com/?submit.592589",
        "https://github.com/HDFGroup/hdf5/issues/5581",
        "https://vuldb.com/?ctiid.313636",
        "https://github.com/user-attachments/files/20626851/reproduce.tar.gz"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-119",
          "CWE-122"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6516.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-6516",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500430,
  "published_at": "2025-06-23T17:00:17.189+00:00"
}