{"id":"CVE-2022-25942","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.","modified":"2026-08-12T03:51:24.570035194Z","published":"2022-08-22T18:20:49.608Z","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":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"1.10.4"},{"last_affected":"1.10.4"}]}]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hdfgroup/hdf5","events":[{"introduced":"f3f29dc7df5f3cc41a5e9462d8c415e540cda3d6"},{"last_affected":"f3f29dc7df5f3cc41a5e9462d8c415e540cda3d6"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:hdfgroup:hdf5:1.10.4:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.10.4"},{"last_affected":"1.10.4"}]}}],"versions":["1.10.4","hdf5-1_10_4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25942.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}