# PHP security updates released for 8.5.12 and others, fixing two vulnerabilities that allow remote code execution

- Link: https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-php-security/
- Discussion: https://startupxo.com/en/1180/
- Posted by startupxo at 2026-10-21T18:34:44.972Z
- 0 points, 0 comments, kind story, origin curated
- Written in ko, machine translated to en

## Summary

- This release is a security update that keeps outsiders from manipulating servers running PHP. According to the PHP project, versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35 fix two vulnerabilities that let an unauthenticated attacker run code on the server under certain conditions.
- The first vulnerability corrupts internal data at the moment a request exactly reaches the memory usage limit (memory_limit). The second reuses memory from a previous request after a fatal error. The original article says remote code execution was demonstrated under default settings in an Apache mod_php environment.
- According to the original article, signs of the first issue first appeared during an external audit in 2024, but no actual attack path was confirmed at that time. Later reports from Calif, OpenAI, and Wiz revealed the scope of the impact, making it a top priority since August.
- On October 20, vulnerability IDs leaked first to forums and social media, so PHP moved up its advance notice and brought the release date forward by one day. A security firm accidentally published a proof-of-concept video, and according to the original article, Chainguard distributed an image containing the fix before public disclosure.

## Sources

- Hacker News: https://news.ycombinator.com/item?id=50182987 (446 points, 216 comments, checked 2026-10-21T20:28:48Z)

## Comments (0)

No comments yet.

JSON: https://startupxo.com/api/v1/item.json?id=1180&lang=en
