{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:hdfgroup:hdf5:1.10.4:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "1.10.4"
              },
              {
                "last_affected": "1.10.4"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "f3f29dc7df5f3cc41a5e9462d8c415e540cda3d6"
            },
            {
              "last_affected": "f3f29dc7df5f3cc41a5e9462d8c415e540cda3d6"
            }
          ],
          "repo": "https://github.com/hdfgroup/hdf5",
          "type": "GIT"
        }
      ],
      "versions": [
        "1.10.4"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "talos",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25942.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "1.10.4"
          },
          {
            "last_affected": "1.10.4"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "An out-of-bounds read vulnerability exists in the gif2h5 functionality of HDF5 Group libhdf5 1.10.4. A specially-crafted GIF file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.",
  "id": "CVE-2022-25942",
  "modified": "2026-08-07T11:31:27.768709767Z",
  "published": "2022-08-22T18:20:49.608Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2022-1486"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25942.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25942"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}