YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
SEGV in tflite-xnnpack (id:002066,sig:11,src:021964,time:399780620,execs:823679204,op:havoc,rep:1)
Severity: medium CWE: CWE-119 Target: tflite-xnnpack Generated: 2026-02-27
Summary
SEGV in tflite-xnnpack (id:002066,sig:11,src:021964,time:399780620,execs:823679204,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(1984 bytes)
ASAN Output
==4004583==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5b6dd5e4f54b bp 0x7ffed8192b30 sp 0x7ffed8192ab0 T0)
==4004583==The signal is caused by a WRITE memory access.
==4004583==Hint: address points to the zero page.
#0 0x5b6dd5e4f54b in void EigenForTFLite::internal::pstore<float, float vector[4]>(float*, float vector[4] const&) /home/lab/huntr/targets/tflite/build-afl/eigen/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/SSE/PacketMath.h:1446:29
#1 0x5b6dd5e4f54b in void EigenForTFLite::internal::pstoret<float, float vector[4], 16>(float*, float vector[4] const&) /home/lab/huntr/targets/tflite/build-afl/eigen/unsupported/Eigen/CXX11/../../../Eigen/src/Core/GenericPacketMath.h:1352:5
#2 0x5b6dd5e4f54b in void EigenForTFLite::TensorEvaluator<EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float, 2, 1, long>, 16, EigenForTFLite::MakePointer>, EigenForTFLite::ThreadPoolDevice>::writePacket<16>(long, float vector[4] const&) const /home/lab/huntr/targets/tflite/build-afl/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:118:12
#3 0x5b6dd5e4f54b in EigenForTFLite::TensorEvaluator<EigenForTFLite::TensorAssignOp<EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float, 2, 1, long>, 16, EigenForTFLite::MakePointer>, EigenForTFLite::TensorContractionOp<std::array<EigenForTFLite::IndexPair<long>, 1ul> const, EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float const, 2, 1, long>, 16, EigenForTFLite::MakePointer> const, EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float const, 2, 1, long>, 16, EigenForTFLite::MakePointer> const, EigenForTFLite::NoOpOutputKernel const> const> const, EigenForTFLite::ThreadPoolDevice>::evalPacket(long) const /home/lab/huntr/targets/tflite/build-afl/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h:163:25
#4 0x5b6dd5e4f54b in EigenForTFLite::internal::EvalRange<EigenForTFLite::TensorEvaluator<EigenForTFLite::TensorAssignOp<EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float, 2, 1, long>, 16, EigenForTFLite::MakePointer>, EigenForTFLite::TensorContractionOp<std::array<EigenForTFLite::IndexPair<long>, 1ul> const, EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float const, 2, 1, long>, 16, EigenForTFLite::MakePointer> const, EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float const, 2, 1, long>, 16, EigenForTFLite::MakePointer> const, EigenForTFLite::NoOpOutputKernel const> const> const, EigenForTFLite::ThreadPoolDevice>, long, true>::run(EigenForTFLite::TensorEvaluator<EigenForTFLite::TensorAssignOp<EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float, 2, 1, long>, 16, EigenForTFLite::MakePointer>, EigenForTFLite::TensorContractionOp<std::array<EigenForTFLite::IndexPair<long>, 1ul> const, EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float const, 2, 1, long>, 16, EigenForTFLite::MakePointer> const, EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float const, 2, 1, long>, 16, EigenForTFLite::MakePointer> const, EigenForTFLite::NoOpOutputKernel cons
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