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.

SEGV in tflite-xnnpack (id:002045,sig:11,src:017289,time:386308252,execs:793762515,op:havoc,rep:1)

Severity: medium CWE: CWE-119 Target: tflite-xnnpack Generated: 2026-02-27

Summary

SEGV in tflite-xnnpack (id:002045,sig:11,src:017289,time:386308252,execs:793762515,op:havoc,rep:1). See ASAN output below for details.

Reproduction

chmod +x reproduce.sh
./reproduce.sh

Or manually:

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

PoC File

  • poc.tflite (640 bytes)

ASAN Output

AddressSanitizer:DEADLYSIGNAL
=================================================================
==533051==ERROR: AddressSanitizer: SEGV on unknown address 0x509026aaac00 (pc 0x75f3c71a1be3 bp 0x7fff00ff8520 sp 0x7fff00ff7ce8 T0)
==533051==The signal is caused by a WRITE memory access.
    #0 0x75f3c71a1be3 in __memset_avx512_unaligned_erms string/../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:216
    #1 0x58c2945e5370 in __asan_memset (/home/lab/huntr/harnesses/tflite/fuzz_tflite_xnnpack_v2+0x9b6370) (BuildId: 379682ff8803bcfee7b5e3bcbfcfe3d55390c609)
    #2 0x58c294da3bc3 in gemmlowp::PackSideBlockImpl<gemmlowp::SideMap<unsigned char const, (gemmlowp::SideMapOrder)0>, gemmlowp::PackedSideBlock<gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 16, (gemmlowp::CellOrder)1>, 1>>>::PackL2() /home/lab/huntr/targets/tflite/build-afl/gemmlowp/public/../internal/pack.h:320:5
    #3 0x58c294de9280 in void gemmlowp::PackRhs<gemmlowp::PackedSideBlock<gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 16, (gemmlowp::CellOrder)1>, 1>>, gemmlowp::MatrixMap<unsigned char const, (gemmlowp::MapOrder)0>>(gemmlowp::PackedSideBlock<gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 16, (gemmlowp::CellOrder)1>, 1>>*, gemmlowp::MatrixMap<unsigned char const, (gemmlowp::MapOrder)0> const&) /home/lab/huntr/targets/tflite/build-afl/gemmlowp/public/../internal/pack.h:429:8
    #4 0x58c294de9280 in void gemmlowp::SingleThreadGemm<gemmlowp::KernelFormat<gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 16, (gemmlowp::CellOrder)1>, 1>, gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 16, (gemmlowp::CellOrder)1>, 1>>, unsigned char, unsigned char, gemmlowp::BitDepthParams<gemmlowp::OperandRange<1, 255>, gemmlowp::OperandRange<0, 255>>, (gemmlowp::MapOrder)1, (gemmlowp::MapOrder)0, (gemmlowp::MapOrder)1, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)1>, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)0>, std::tuple<gemmlowp::OutputStageScaleInt32ByFixedPointAndExponent, gemmlowp::OutputStageClamp, gemmlowp::OutputStageSaturatingCastToUint8>>(gemmlowp::SingleThreadGemmContext*, gemmlowp::KernelBase const&, gemmlowp::MatrixMap<unsigned char const, (gemmlowp::MapOrder)1> const&, gemmlowp::MatrixMap<unsigned char const, (gemmlowp::MapOrder)0> const&, gemmlowp::MatrixMap<unsigned char, (gemmlowp::MapOrder)1>*, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)1> const&, gemmlowp::VectorDup<int const, (gemmlowp::VectorShape)0> const&, std::tuple<gemmlowp::OutputStageScaleInt32ByFixedPointAndExponent, gemmlowp::OutputStageClamp, gemmlowp::OutputStageSaturatingCastToUint8> const&) /home/lab/huntr/targets/tflite/build-afl/gemmlowp/public/../internal/single_thread_gemm.h:127:5
    #5 0x58c294de7c86 in void gemmlowp::MultiThreadGemm<gemmlowp::KernelFormat<gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 16, (gemmlowp::CellOrder)1>, 1>, gemmlowp::KernelSideFormat<gemmlowp::CellFormat<4, 16, (gemmlowp::CellOrder)1>, 1>>, unsigned char, unsigned char, gemmlo

Impact

Memory corruption vulnerability reachable by processing a malformed tflite-xnnpack 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
3