out-of-memory
termKept in this browser · My desk
The condition in which a program cannot get the memory it asks for, from the operating system or from a limit it sets on itself.
How a program handles it decides whether running out of memory is only an outage. PHP sets its own ceiling per script, memory_limit, 128M by default, and has handled crossing it by abandoning the request. CVE-2026-109618 was the case where that abandonment left half-built request data for the cleanup to trust, turning an out-of-memory error into remote code execution. The October 2026 fixes made memory_limit a soft limit, backed by a hard limit set with the new memory_hard_limit_percent directive.
Also known as: OOM, out of memory, memory exhaustion, memory_limit
Sources
- PHP manual, Runtime Configuration of the core (read 2026-10-27): memory_limit, 128M by default, a soft limit as of 8.5.12, 8.4.27, 8.3.36 and 8.2.35, bounded by memory_hard_limit_percent
- CVE record CVE-2026-109618 (read 2026-10-27): PHP uses longjmp() for out-of-memory errors to abort handling of the request