13MEMORY VULNERABILITIES

Image

Every application relies on computer memory to store and execute the application’s code. A memory vulnerability exploits a bug in the application’s memory management. The attack results in unintended behavior that could enable an attacker to inject and execute their own commands.

Memory vulnerabilities occur in programming languages where developers are responsible for applications’ memory management, such as in C and C++. Other languages, like Ruby, Python, PHP, and Java, manage memory allocation for developers, making these languages less susceptible to memory bugs.

Before performing any dynamic action in C or C++, a ...

Get Real-World Bug Hunting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.