Skip to content
Heist/ feed
Back to feed
Low

HDF5 H5Omessage.c H5O_msg_flush heap-based overflow

Type: advisorySources: OSV

A vulnerability was found in HDF5 up to 1.14.6. It has been declared as problematic. Affected by this vulnerability is the function H5O_msg_flush of the file src/H5Omessage.c. The manipulation of the argument oh leads to heap-based buffer overflow. The attack needs 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-2912
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:41 UTC · Revision 1

Source evidence

HDF5 H5Omessage.c H5O_msg_flush heap-based overflow

core-osv · Original source

Published 28 Mar 2025, 16:00 UTC

A vulnerability was found in HDF5 up to 1.14.6. It has been declared as problematic. Affected by this vulnerability is the function H5O_msg_flush of the file src/H5Omessage.c. The manipulation of the argument oh leads to heap-based buffer overflow. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.

osv:CVE-2025-2912
Complete source record
{
  "id": "676ff4ded4d6d23245786371e570cfb1efb18383259fe7ad052e50c6efbd7744",
  "url": "https://osv.dev/vulnerability/CVE-2025-2912",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HDF5 H5Omessage.c H5O_msg_flush heap-based overflow",
    "summary": "A vulnerability was found in HDF5 up to 1.14.6. It has been declared as problematic. Affected by this vulnerability is the function H5O_msg_flush of the file src/H5Omessage.c. The manipulation of the argument oh leads to heap-based buffer overflow. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.",
    "evidence": "osv:CVE-2025-2912",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-2912",
      "aliases": [
        "CVE-2025-2912"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hdfgroup/hdf5",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0553fb7ac7f03a919c91cdbbd5648b8aadbe05af"
                },
                {
                  "fixed": "a6ff8aed236ee1e1deff6415e88b16c42b22f17c"
                }
              ],
              "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"
                      },
                      {
                        "fixed": "2.0.0"
                      }
                    ],
                    "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-2912.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.940765796Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2912.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-2912",
        "https://vuldb.com/?id.301885",
        "https://vuldb.com/?submit.519966",
        "https://github.com/HDFGroup/hdf5/issues/5370",
        "https://vuldb.com/?ctiid.301885"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-119",
          "CWE-122"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2912.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-2912",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504210,
  "published_at": "2025-03-28T16:00:11.864+00:00"
}