You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

PoC: NetCDF-C read_hdf5_att() N*fixed_size Integer Overflow β†’ Heap Overflow (CWE-122)

Summary

libsrc4/hdf5open.c:1925:

contig_buf = malloc((size_t)att->len * fixed_size * sizeof(char));

On 32-bit builds: N = 65537, fixed_size = 65537:

  • 65537 * 65537 = 4,295,098,369 β†’ wraps to 131,073 (32-bit)
  • malloc(131073) but H5Aread(...) writes 4 GB+ β†’ heap overflow

PoC file

poc5_netcdf_hdf5_fixed_string_overflow.h5 β€” HDF5 file with fixed-length string attribute.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support