YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
NumPy NPZ β OOM DoS via Oversized Shape in .npz Archive
Status: PoC CONFIRMED β β Ready for huntr submission
| Field | Value |
|---|---|
| Target | npz (huntr.com β NPZ (.npz) β NumPy) |
| Format | NumPy .npz ZIP archive |
| Vuln | CWE-789 β Same read_array() bug as .npy, triggered via ZIP member |
| CVSS | 7.5 High |
| Trigger | numpy.load("bomb.npz")["arr_0"] β MemoryError |
| File size | 244 bytes β 8 TiB allocation |
Quick Repro
python3 poc/make_poc.py # creates bomb.npz (244 bytes)
python3 poc/trigger.py # MemoryError β crash
Files
poc/make_poc.pyβ buildsbomb.npzpoc/trigger.pyβ triggers crashpoc/bomb.npzβ malicious archivereport.mdβ huntr submission reportevidence/poc-run.htmlβ evidence HTML
Note
Same root cause as the .npy finding (numpy/lib/_format_impl.py read_array()).
Submit as a separate report under the npz target on huntr for a second bounty.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support