Leak

A leak generally refers to a situation where resources are not properly released after they should have been. This can lead to degraded performance, crash or security issues.

Different types of leaks:

  • Memory leaks: memory is not freed, voluntarily or not, and reach memory_limit.

  • Resource leaks: resources such as file handles are not freed, voluntarily or not.

  • Data Leaks: sensitive data are made available, in an indirect way, and may even reach attackers.

See also A Journey to find a memory leak and Preventing Memory Leaks in PHP: Best Practices for Efficient Memory Management.

Related : Resource Leak, Memory Leak, Data Leak, Path Traversal, phpinfo()