Get Started
- CodeAnt AI
- Control Center
- Pull Request Review
- IDE
- Compliance
- Anti-Patterns
- Code Governance
- Infrastructure Security Database
- Application Security Database
- Apex
- Bash
- C
- Clojure
- Cpp
- Lang
- Correctness
- Security
- Containers
- Crypto
- Filesystem
- Format-string
- Ldap
- Libraries
- Memory
- Allocation
- Deallocation
- Integer-overflow-allocation
- Negative-return-value-array-index
- Null-deref
- Unvalidated-array-index
- Misc
- Rng
- Sql
- Strings
- System-command
- Uri
- Use-after-free
- Libxml2
- Csharp
- Dockerfile
- Elixir
- Fingerprints
- Generic
- Go
- Html
- Java
- Javascript
- Json
- Kotlin
- Ocaml
- Php
- Problem-based-packs
- Python
- Ruby
- Rust
- Scala
- Solidity
- Swift
- Terraform
- Typescript
- Yaml
Integer-overflow-allocation
Integer overflow allocation
$PTR
is allocated by $ALLOC
. The size of this allocation is calculated from $SIZE_EXPR
. If this calculation overflows then $SINK
may overflow the heap allocated buffer.
Likelihood: LOW
Confidence: LOW
CWE:
- CWE-680: Integer Overflow to Buffer Overflow