# A PHP session.upload_progress use-after-free lets attackers reach system() with stock settings

Original title: Major PHP Vulnerability Leaked

> Hacker News story 50176077 · language: en · submitted 2026-10-21
> Web version: https://zeli.app/story/50176077
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 185 · by [rfarley04](<https://news.ycombinator.com/user?id=rfarley04>) · 💬 62
[original](<https://jackalsyn.com/posts/php-up-2026.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50176077>)

## Summary

A heap use-after-free in PHP's session.upload_progress handler caches two raw zval bucket pointers that the request lifecycle frees, letting a stale pointer land an attacker-shaped zend_fcall_info that calls zend_call_function — effectively system(). Verified against php-src 8.4.4 and 8.2.34, it works on default configuration. The author publishes a full PoC framework, per-build symbol deltas, and pre-patch mitigations for free.

## Key quote

> A pre-patch mitigation shouldn't be a subscription perk.

## HN discussion (62 comments)

### [lorenzbrun](<https://news.ycombinator.com/item?id=50176518>)

> I'm pretty sure this is not the vulnerability that's still officially under embargo. I think I found the the two actual vulnerabilities (both UAFs and similar). I patched my own stuff (at least I hope so) and am mirroring traffic to a detector, very interested to see when I get the first hits. Unless I see actual exploit attempts or a full leak I think I'm not going to publish my patches yet.

### [InvisibleUp](<https://news.ycombinator.com/item?id=50176473>)

> This may be, according to one of the PHP devs, a completely unrelated exploit. See https://phpc.social/@Girgias/117476477429221001. Seems the best stopgap is SELinux or AppArmor.

### [idlewords](<https://news.ycombinator.com/item?id=50176932>)

> I guess the future is people arguing in comments whether a high-severity vulnerability is the one under embargo, or one of various unrelated devastating bugs discovered when people got wind of the embargo and pointed their AI agents at the codebase.

### [iambateman](<https://news.ycombinator.com/item?id=50176445>)

> I turned the server off on our app until this storm is over.

### [lionkor](<https://news.ycombinator.com/item?id=50176459>)

> Someone uses Claude to role play as a hacker... Yikes

---

## Cite

- Page: https://zeli.app/story/50176077
- Date: 2026-10-21
- Source: jackalsyn.com (https://jackalsyn.com/posts/php-up-2026.html)
- Hacker News: https://news.ycombinator.com/item?id=50176077

## Other languages

- zh: https://zeli.app/zh/story/50176077 · markdown: https://zeli.app/zh/story/50176077.md
- ja: https://zeli.app/ja/story/50176077 · markdown: https://zeli.app/ja/story/50176077.md
- ko: https://zeli.app/ko/story/50176077 · markdown: https://zeli.app/ko/story/50176077.md
- de: https://zeli.app/de/story/50176077 · markdown: https://zeli.app/de/story/50176077.md
- es: https://zeli.app/es/story/50176077 · markdown: https://zeli.app/es/story/50176077.md
- ru: https://zeli.app/ru/story/50176077 · markdown: https://zeli.app/ru/story/50176077.md
