Researchers from Cisco’s Talos Vulnerability Development Team discovered a total of four code execution flaws in the HDF5 library. The issues were reported to the developer and patched.
HDF5 is a data model, library and file format designed for storing and managing large and complex data collections. HDF5 is maintained by The HDF Group and it’s used in various industries by organizations such as Ford, SpaceX, Lofar, Energistics and the Allotrope Foundation.
According to Talos researchers, HDF5 1.8.16 and possibly earlier versions are affected by four local heap-based buffer overflow vulnerabilities. Attackers can execute arbitrary code in the context of the application using the library if they can convince the user to open a specially crafted file.
The flaws are caused by failure to check if the number of dimensions for an array read from a file is within bounds, failure to check bounds when decoding data from a dataset encoded with H5Z_NBIT, failure to check if specific message types support a certain flag, and inadequate handling of certain values in memory when parsing an HDF file.
The following CVE identifiers have been assigned to these vulnerabilities: CVE-2016-4330, CVE-2016-4331, CVE-2016-4332 and CVE-2016-4333.
The issues were reported by Talos researchers in mid-May and they were resolved this month with the release of version 1.8.18. Talos has published technical details for each of the vulnerabilities and released Snort rules to help its customers detect exploitation attempts.
Talos has also discovered security holes in various other popular libraries, including OpenJPEG, Libarchive, Lhasa and 7-Zip.
Related Reading: Attackers Can Hack Apple Devices Using Image Files
Related Reading: “Libotr” Library Flaw Exposes Popular IM Apps
Related Reading: Remote Code Execution Flaw Patched in glibc Library

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.
More from Eduard Kovacs
- High-Severity Privilege Escalation Vulnerability Patched in VMware Workstation
- GoAnywhere MFT Users Warned of Zero-Day Exploit
- UK Car Retailer Arnold Clark Hit by Ransomware
- EV Charging Management System Vulnerabilities Allow Disruption, Energy Theft
- Unpatched Econolite Traffic Controller Vulnerabilities Allow Remote Hacking
- Google Fi Data Breach Reportedly Led to SIM Swapping
- Microsoft’s Verified Publisher Status Abused in Email Theft Campaign
- British Retailer JD Sports Discloses Data Breach Affecting 10 Million Customers
Latest News
- Big China Spy Balloon Moving East Over US, Pentagon Says
- Former Ubiquiti Employee Who Posed as Hacker Pleads Guilty
- Cyber Insights 2023: Venture Capital
- Atlassian Warns of Critical Jira Service Management Vulnerability
- High-Severity Privilege Escalation Vulnerability Patched in VMware Workstation
- Exploitation of Oracle E-Business Suite Vulnerability Starts After PoC Publication
- China Says It’s Looking Into Report of Spy Balloon Over US
- GoAnywhere MFT Users Warned of Zero-Day Exploit
