Critical

Showing all detectors for the C++ language with critical severity.

Hardcoded credentials

Hardcoded credentials can be intercepted by malicious actors.

Unsafe File Extension

Unsafe file extensions like .exe or .vbs can execute code without consent.

Incorrect Order Of setuid and setgid

if set(e)gid() is called after set(e)uid(), it can regain elevated group privileges.

Code Injection

Code injection vulnerabilities occur when untrusted input is executed as code.

Incorrect Pointer Subtraction

Pointer subtraction allows unintended behavior.

Incorrect Use of Sizeof

Use of sizeof on a malloced pointer type is incorrect.

Use After Free

Using memory after it has been freed can lead to unexpected behavior or exploitation.

Incorrect Conversion Of Numeric Types

Converting from one data type to another, data can be omitted or translated in a way that produces unexpected values.