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:002050,sig:11,src:014875,time:389303304,execs:801540110,op:havoc,rep:2)

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

Summary

SEGV in tflite-xnnpack (id:002050,sig:11,src:014875,time:389303304,execs:801540110,op:havoc,rep:2). 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 (612 bytes)

ASAN Output

SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/linux/multiline.c:85:11 in 
/home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/linux/multiline.c:64:9: runtime error: call to function parse_line through pointer to incorrect function type 'bool (*)(const char *, const char *, void *, unsigned long)'
/home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/x86/linux/cpuinfo.c:87: note: parse_line defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/linux/multiline.c:64:9 in 
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
/home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/atan2.cc:47:3: runtime error: member access within null pointer of type 'TfLiteTensor'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/atan2.cc:47:3 in 
/home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/atan2.cc:47:3: runtime error: load of null pointer of type 'TfLiteType'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/atan2.cc:47:3 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==532496==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x64b4044966da bp 0x7ffe067557a0 sp 0x7ffe06755750 T0)
==532496==The signal is caused by a READ memory access.
==532496==Hint: address points to the zero page.
    #0 0x64b4044966da in tflite::ops::builtin::atan2::Atan2Prepare(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/atan2.cc
    #1 0x64b40427e02f in tflite::Subgraph::PrepareOpsStartingAt(int, std::vector<int, std::allocator<int>> const&, int*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1508:44
    #2 0x64b40429419b in tflite::Subgraph::ModifyGraphWithDelegateImpl(TfLiteDelegate*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:2307:5
    #3 0x64b404298303 in tflite::Subgraph::ModifyGraphWithDelegate(TfLiteDelegate*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:2260:17
    #4 0x64b4041cb006 in tflite::impl::Interpreter::ModifyGraphWithDelegateImpl(TfLiteDelegate*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter.cc:410:24
    #5 0x64b404210375 in tflite::impl::InterpreterBuilder::ApplyDelegates(tflite::impl::Interpreter*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter_builder.cc:729:5
    #6 0x64b404217456 in tflite::impl::InterpreterBuilder::operator()(std::unique_ptr<tflite::impl::Interpreter, std::default_delete<tflite::impl::Interpreter>>*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter_builder.cc:899:25
    #7 0x64b404144332 in LLVMFuzzerTestOneInput /home/lab/huntr/harnesses/tflite/fuzz_tflite_xnnpack_v2.cpp:21:9
    #8 0x64b40414380a

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