Hacker News new | ask | show | jobs
A Star Is Reborn: The PHP Interpreter Rewritten in Safe Rust (arxiv.org)
2 points by cwbuilds 3 days ago
1 comments

Would rust have helped avoid the php2shell had it been done by the official project?
Likely, at least for the RCE and assuming it was all safe Rust: the authors of this paper backported the upload-progress feature behind CVE-2026-109619 and the same trigger ran safely (Appendix E). They didn't test CVE-2026-109618, but my guess is it would've helped there too, although they also say at least 56 of their 173 bugs involve logical memory violations that safe Rust alone doesn't prevent.