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:002071,sig:11,src:026774,time:401959855,execs:827443357,op:havoc,rep:2)

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

Summary

SEGV in tflite-xnnpack (id:002071,sig:11,src:026774,time:401959855,execs:827443357,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 (644 bytes)

ASAN Output

/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: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/internal/reference/resize_bilinear.h:169:18: runtime error: signed integer overflow: 1024 * 234881136 cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/reference/resize_bilinear.h:169:18 in 
/home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/reference/resize_bilinear.h:196:19: runtime error: load of null pointer of type 'const signed char'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/reference/resize_bilinear.h:196:19 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==4004271==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5739316551c1 bp 0x7ffed89357e0 sp 0x7ffed8935640 T0)
==4004271==The signal is caused by a READ memory access.
==4004271==Hint: address points to the zero page.
    #0 0x5739316551c1 in void tflite::reference_ops::ResizeBilinearInteger<signed char>(tflite::ResizeBilinearParams const&, tflite::RuntimeShape const&, signed char const*, tflite::RuntimeShape const&, int const*, tflite::RuntimeShape const&, signed char*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/reference/resize_bilinear.h:196:19
    #1 0x57393164dae3 in tflite::optimized_ops::ResizeBilinear(tflite::ResizeBilinearParams const&, tflite::RuntimeShape const&, signed char const*, tflite::RuntimeShape const&, int const*, tflite::RuntimeShape const&, signed char*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/optimized/resize_bilinear.h:1729:3
    #2 0x57393164dae3 in TfLiteStatus tflite::ops::builtin::resize_bilinear::Eval<(tflite::ops::builtin::resize_bilinear::KernelType)1>(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/resize_bilinear.cc:143:7
    #3 0x57393065b064 in tflite::Subgraph::InvokeImpl() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1726:18
    #4 0x573930657ec0 in tflite::Subgraph::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow/l

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
1