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 v1h_get_NC_var() Unchecked ndims β†’ Stack Buffer Overflow (CWE-121)

Summary

libsrc/v1hpg.c reads ndims from a CDF header with no upper-bound check. Downstream in NC_getshape():

int dimids[NC_MAX_VAR_DIMS];   // fixed 1024-element stack array
// copies varp->ndims elements β€” no bounds check

With ndims = 1025, the copy writes one past the array β†’ stack smash.

PoC file

poc4_netcdf_ndims_stack_overflow.nc β€” valid CDF-1 binary with 1025 dimensions.

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