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

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 dataset content.

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

Check out the documentation for more information.

heap-buffer-overflow in onnx-ort-format (id:000025,sig:06,src:000003+000011,time:18209060,execs:114108864,op:splice,rep:1)

Severity: high CWE: CWE-122 Target: onnx-ort-format Generated: 2026-03-01

Summary

heap-buffer-overflow in onnx-ort-format (id:000025,sig:06,src:000003+000011,time:18209060,execs:114108864,op:splice,rep:1). See ASAN output below for details.

Reproduction

chmod +x reproduce.sh
./reproduce.sh

Or manually:

# Build target with ASAN
# Run: <target> poc.ort

PoC File

  • poc.ort (143 bytes)

ASAN Output

Testing: /home/rammdaeus/huntr/fuzz-output/onnx-ort-format/main/crashes/id:000025,sig:06,src:000003+000011,time:18209060,execs:114108864,op:splice,rep:1 (143 bytes)
=================================================================
==3240134==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x769d07644c00 at pc 0x7a1d0d1435b4 bp 0x7fff327f2d10 sp 0x7fff327f2d00
READ of size 16 at 0x769d07644c00 thread T0
    #0 0x7a1d0d1435b3 in _mm_loadu_ps(float const*) /usr/lib/gcc/x86_64-linux-gnu/15/include/xmmintrin.h:982
    #1 0x7a1d0d1435b3 in MlasLoadFloat32x4(float const*) /home/rammdaeus/gor/hunting/targets/onnxruntime/onnxruntime/core/mlas/lib/mlasi.h:2104
    #2 0x7a1d0d1435b3 in void MlasSgemmTransposePackBNx4<8u>(float*, float const*, unsigned long) /home/rammdaeus/gor/hunting/targets/onnxruntime/onnxruntime/core/mlas/lib/sgemm.cpp:395
    #3 0x7a1d0d13ec81 in MlasSgemmTransposePackB(float*, float const*, unsigned long, unsigned long, unsigned long) (/home/rammdaeus/huntr/libs/onnx/libonnxruntime.so.1+0x3d3ec81) (BuildId: 06133089d904988c5bacaadc701d1137241257f4)
    #4 0x7a1d0d140f05 in MlasSgemmOperation(CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, unsigned long, unsigned long, unsigned long, float, float const*, unsigned long, float const*, unsigned long, float, float*, unsigned long) (/home/rammdaeus/huntr/libs/onnx/libonnxruntime.so.1+0x3d40f05) (BuildId: 06133089d904988c5bacaadc701d1137241257f4)
    #5 0x7a1d0d1426a6 in MlasSgemmThreaded(long, long, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, unsigned long, unsigned long, unsigned long, MLAS_SGEMM_DATA_PARAMS const*, long) (/home/rammdaeus/huntr/libs/onnx/libonnxruntime.so.1+0x3d426a6) (BuildId: 06133089d904988c5bacaadc701d1137241257f4)
    #6 0x7a1d0d142928 in MlasGemmBatch(CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, unsigned long, unsigned long, unsigned long, MLAS_SGEMM_DATA_PARAMS const*, unsigned long, onnxruntime::concurrency::ThreadPool*)::{lambda(long)#1}::operator()(long) const (/home/rammdaeus/huntr/libs/onnx/libonnxruntime.so.1+0x3d42928) (BuildId: 06133089d904988c5bacaadc701d1137241257f4)
    #7 0x7a1d0d1449fa in __invoke_impl<void, MlasGemmBatch(CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, size_t, size_t, size_t, const MLAS_SGEMM_DATA_PARAMS*, size_t, MLAS_THREADPOOL*)::<lambda(ptrdiff_t)>&, long int> /usr/include/c++/15/bits/invoke.h:63
    #8 0x7a1d0d144872 in __invoke_r<void, MlasGemmBatch(CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, size_t, size_t, size_t, const MLAS_SGEMM_DATA_PARAMS*, size_t, MLAS_THREADPOOL*)::<lambda(ptrdiff_t)>&, long int> /usr/include/c++/15/bits/invoke.h:113
    #9 0x7a1d0d1445b4 in _M_invoke /usr/include/c++/15/bits/std_function.h:292
    #10 0x7a1d0a821fcf in std::function<void (long)>::operator()(long) const /usr/include/c++/15/bits/std_function.h:593
    #11 0x7a1d0d603116 in MlasTrySimpleParallel(onnxruntime::concurrency::ThreadPool*, long, std::function<void (long)> const&) /home/rammdaeus/gor/hunting/targets/onnxruntime/onnxruntime/core/mlas/lib/threading.cpp:71
    #12 0x7a1d0d142ead in M

Impact

Memory corruption vulnerability reachable by processing a malformed onnx-ort-format file. An attacker could craft a malicious file and distribute it to cause denial of service or potentially leak sensitive heap data.

Downloads last month
4