Home / Vulnerability Database / C or C++ : Calling mmap and mprotect functions
C/C++

C or C++ : Calling mmap and mprotect functions

Overview

Both PROT_WRITE and PROT_EXEC flags are set in call to mmap or mprotect function. This can lead to exploitable memory regions, which could be overwritten with malicious code.

MEDIUM

DerScanner Severity Score

Do you want to fix C or C++ : Calling mmap and mprotect functions in your application?

See also

C/C++

C or C++ : Dead store

C/C++

C or C++ : Use after free

C/C++

C or C++ : va_list uninitialized