Skip to content
Heist/ feed
Back to feed
Medium

HDF5 Scale-Offset Filter H5Z__scaleoffset_decompress_one_byte heap-based overflow

Type: advisorySources: OSV

A vulnerability, which was classified as critical, was found in HDF5 1.14.6. This affects the function H5Z__scaleoffset_decompress_one_byte of the component Scale-Offset Filter. 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. The vendor plans to fix this issue in an upcoming release.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-2308
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:22 UTC · Revision 1

Source evidence

HDF5 Scale-Offset Filter H5Z__scaleoffset_decompress_one_byte heap-based overflow

core-osv · Original source

Published 14 Mar 2025, 20:31 UTC

A vulnerability, which was classified as critical, was found in HDF5 1.14.6. This affects the function H5Z__scaleoffset_decompress_one_byte of the component Scale-Offset Filter. 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. The vendor plans to fix this issue in an upcoming release.

osv:CVE-2025-2308
Complete source record
{
  "id": "d7c55841c08f97d1766b2ecc2ef56842f207a573e906d003e50f3a9afdb5dbd2",
  "url": "https://osv.dev/vulnerability/CVE-2025-2308",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HDF5 Scale-Offset Filter H5Z__scaleoffset_decompress_one_byte heap-based overflow",
    "summary": "A vulnerability, which was classified as critical, was found in HDF5 1.14.6. This affects the function H5Z__scaleoffset_decompress_one_byte of the component Scale-Offset Filter. 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. The vendor plans to fix this issue in an upcoming release.",
    "evidence": "osv:CVE-2025-2308",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-2308",
      "aliases": [
        "CVE-2025-2308"
      ],
      "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hdfgroup/hdf5",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7bf340440909d468dbb3cf41f0ea0d87f5050cea"
                },
                {
                  "last_affected": "7bf340440909d468dbb3cf41f0ea0d87f5050cea"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:hdfgroup:hdf5:1.14.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.14.6"
                      },
                      {
                        "last_affected": "1.14.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.14.6",
            "hdf5_1.14.6",
            "hdf5-1.14.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2308.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.839480841Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2308.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-2308",
        "https://vuldb.com/?id.299721",
        "https://vuldb.com/?submit.514531",
        "https://vuldb.com/?ctiid.299721",
        "https://github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc2.md"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-119",
          "CWE-122"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.14.6"
                  },
                  {
                    "last_affected": "1.14.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2308.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-2308",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488283,
  "published_at": "2025-03-14T20:31:04.336+00:00"
}