Memory corruption during out-of-memory handling
When a memory allocation fails, PHP can abandon a request and leave invalid data for its cleanup routine. Crafted multipart requests (forms and file uploads) can exhaust memory even when they appear to respect configured limits. On Apache mod_php the attack succeeds before application code executes.
