Browse / Unsafe Model Loading and Supply Chain / Memory corruption
Memory corruption
19 records in Unsafe Model Loading and Supply Chain.
- ONNX: Out-of-bounds read in ConvTranspose shape inference via undersized weight rank A crafted model whose weight tensor has fewer than three dimensions triggers an out-of-bounds read during shape inference, crashing the process.
- ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute
- ONNX: Heap-Buffer-Overflow READ in Gemm Version Converter Adapter via Undersized Input Shape
- ONNX has Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs)
- vLLM: Security Check Bypass via assert Statement in Activation Function Loading Allows Arbitrary Code Execution
- PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files A crafted .pth checkpoint passes the weights-only unpickler despite invalid opcodes and storage sizes, corrupting heap memory during torch.load.
- MLX has Wild Pointer Dereference in load_gguf()
- vLLM deserialization vulnerability leading to DoS and potential RCE
- Ollama Denial of Service (DoS) via Null Pointer Dereference
- Ollama Out-of-bounds Read A truncated GGUF file uploaded in two requests and referenced by a Modelfile makes the server read out of bounds and crash.
- Read and Write outside of bounds in TensorFlow A crafted TFLite model with sparse tensor data is converted without validation, causing out-of-bounds reads and writes when the model is loaded.
- Integer overflow in TFLite A crafted TFLite model overflows size multiplications in embedding lookup, leading to out-of-bounds heap reads and writes.
- Integer overflow in TFLite array creation A crafted TFLite model makes an int-sized size calculation overflow during array creation, causing an undersized heap allocation.
- Null pointer dereference in Grappler's `IsConstant` A malformed SavedModel causes Grappler's constant-folding and identity checks to dereference missing node pointers.
- Out of bounds read in Tensorflow A modified SavedModel on disk breaks assumptions in TFG import, causing heap out-of-bounds reads when converted to MLIR.
- Missing validation during checkpoint loading A tampered checkpoint file makes TensorFlow's loader process malformed data without validation, causing overflows, undefined behaviour and crashes.
- Heap OOB write in TFLite A crafted TFLite model with an invalid axis value makes the ArgMin/ArgMax kernel write past the end of a heap array.
- Out of bounds access in tensorflow-lite A crafted TFLite model uses the -1 optional-tensor marker on operators that require real tensors, so the runtime reads and writes outside heap arrays.
- Improper Restriction of Operations within the Bounds of a Memory Buffer in Google TensorFlow A malformed TFLite model file passed to the TOCO converter overflows a memory buffer during parsing, which can lead to code execution.