Skip to main content

Hdf5: Heap-buffer-overflow in H5MM_memcpy

0
Medium
Published: 05/01/2023 (05/01/2023, 14:02:33 UTC)
Source: GCVE Database
Product: hdf5

Description

A heap-buffer-overflow vulnerability exists in the H5MM_memcpy function of the hdf5 library, as reported by OSS-Fuzz. The issue causes a read overflow during memory copying operations related to cache serialization and image generation. Multiple specific versions of hdf5 are affected. No patch or official fix information is provided in the available data.

Affected software

OSS-Fuzzmore threats →ghsa
hdf5
pkg:generic/hdf5
Affected versions
>=f527239564fc27a6e666ce734b88e4ab18765efc=hdf5-1_10_10=hdf5-1_14_1=1.14.1=hdf5-1_14_1-2=snapshot=snapshot-1.14=snapshot-1.12=snapshot-1.10=hdf5-1_14_2=hdf5-1_10_11=hdf5-1_14_3-rc1=hdf5-1_14_3=hdf5-1_12_3=hdf5_1.14.4=hdf5-1.14.4.1=hdf5_1.14.4.1=hdf5_1.14.4.2=temp-1.14.4-3=hdf5_1.14.4.3=hdf5_1.14.5=snapshot-1.16=hdf5-1.14.5=hdf5-1.14.6=hdf5_1.14.6=hdff5-1_14-_0=hdff5-1_14_0=final_autotools_develop=2.0.0=hdf5_2.0.0=test-2.0.1-pre1=2.1.0-pre1test=2.1.0=hdf5_2.1.0=2.1.1=2.2.0-rc1=snapshot-2.2.0-rc1=2.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 07:29:46 UTC

Technical Analysis

The hdf5 library contains a heap-buffer-overflow vulnerability in the H5MM_memcpy function, identified through OSS-Fuzz testing. The crash occurs during a read operation in memory copying within the cache serialization and image generation processes (functions H5O__cache_chk_serialize and H5C__generate_image). This vulnerability affects several exact versions of hdf5, including 1.14.1, 2.0.0, 2.1.0-pre1test, 2.1.0, 2.1.1, 2.2.0-rc1, and 2.2.0. There is no CVSS score or vendor advisory available, and no patch or remediation details have been provided.

Potential Impact

The vulnerability causes a heap-buffer-overflow read, which could lead to memory corruption or application crashes when processing data with the affected hdf5 versions. No known exploits in the wild have been reported. The exact impact on confidentiality, integrity, or availability is not detailed in the available information.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider avoiding the affected versions or applying any available updates from the vendor. Monitor official hdf5 project channels for patches addressing this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
OSV-2023-359
Osv Schema Version
1.4.0
Ecosystems
["OSS-Fuzz"]

Threat ID: 6a6ae55e9c2644c7f89b07f0

Added to database: 07/30/2026, 05:47:10 UTC

Last enriched: 07/30/2026, 07:29:46 UTC

Last updated: 09/07/2026, 17:20:54 UTC

Views: 14

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses