> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeant.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Unsafe binary to term

<AccordionGroup>
  <Accordion title="unsafe-binary-to-term">
    Untrusted input might be injected into the Erlang function `binary_to_term`, which can lead to a remote code execution or memory exhaustion. To prevent this vulnerability, replace functionality with the `Plug.Crypto.non_executable_binary_to_term` function. <br />**Likelihood**: MEDIUM<br />**Confidence**: HIGH<br />**CWE**: <br />- CWE-94: Improper Control of Generation of Code ('Code Injection')
    <br />**OWASP**: <br />- A03:2021 - Injection
  </Accordion>
</AccordionGroup>
