Skip to main content

Hdf5: Heap-buffer-overflow in H5MM_xstrdup

0
Medium
Published: 05/26/2023 (05/26/2023, 14:00:26 UTC)
Source: GCVE Database
Product: hdf5

Description

A heap-buffer-overflow vulnerability exists in the H5MM_xstrdup function of the hdf5 library, as reported by OSS-Fuzz. This issue causes a read overflow of 5 bytes, leading to a crash in specific internal functions related to symbol table lookup. Multiple specific versions of hdf5 are affected. No CVSS score or known exploits in the wild are reported.

Affected software

OSS-Fuzzmore threats →ghsa
hdf5
pkg:generic/hdf5
Affected versions
>=f527239564fc27a6e666ce734b88e4ab18765efc=1.14.1=hdf5-1_10_10=hdf5-1_14_1=hdf5-1_14_1-2=hdf5-1_14_2=snapshot=snapshot-1.10=snapshot-1.12=snapshot-1.14=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:15 UTC

Technical Analysis

The hdf5 library contains a heap-buffer-overflow vulnerability triggered in the H5MM_xstrdup function, which is involved in duplicating strings. The overflow occurs during a read operation of 5 bytes, causing a crash in the call stack involving H5G__ent_to_link and H5G__stab_lookup_cb functions. This vulnerability was identified through OSS-Fuzz and affects several explicit 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 information about a patch or vendor advisory, and no known exploits have been reported.

Potential Impact

The vulnerability results in a heap-buffer-overflow read, which can cause application crashes when processing certain data. While no known exploits are reported, such memory corruption issues may potentially be leveraged for denial of service or other impacts depending on context. The exact impact beyond crashing is not detailed in the available data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch or official fix information is provided, users should monitor official hdf5 channels for updates. Until a fix is available, cautious handling of inputs processed by the affected functions is advised.

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-430
Osv Schema Version
1.4.0
Ecosystems
["OSS-Fuzz"]

Threat ID: 6a6ae55c9c2644c7f89b047d

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

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

Last updated: 09/09/2026, 01:29:49 UTC

Views: 35

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