I came across the link via https://mastodon.social/@CuratedHackerNews/117481600704689796

Last time I touched php it was ~20 years ago and maybe for a month. Could someone with actual php understanding weigh in?

Somehow, somewhere between the lines, my understanding was that there have been observances of the vuln being used in the wild before the 14 UTC. And that wasn't from reading news sites

all 21 comments

sorted by: hot top controversial new old
[–] 8 points 4 hours ago (2 children)

There are two CVE's (CVE-2026-109618, CVE-2026-109619), both with a rating of 9.2 out of 10. They allow unauthenticated code execution.

From the phpfoundation website:

CVE-2026-109618 / GHSA-w8hw-w9fx-j79w: RCE via OOM corruption (out-of-memory): If a request reached PHP's memory_limit at exactly the wrong moment, PHP could leave partially initialized internal data behind and later treat it as valid, corrupting memory. On Apache with mod_php, an unauthenticated request can trigger this before any application code runs, and full remote code execution was demonstrated with default settings. Remote code execution was also confirmed on PHP-FPM through application-level code paths.

CVE-2026-109619 / GHSA-6wmf-4rv5-p3rp: RCE via stale global state: A fatal error at the wrong point could leave internal state pointing to memory that belonged to a previous request. A later request handled by the same worker could then use that freed memory. A use-after-free and worker crash were confirmed, and the reporter demonstrated remote code execution against a real-world application running on Apache with mod_php.

  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 2 hours ago (1 child)

    Yes, but from the page I linked

    One really amusing thing in common with most of these "PoC"s is that they lean on "LFI", or local-file-inclusion, to make the vulnerability. In non-php terms, their exploit chain requires the server to already have a severe code-level vulnerability.

    It's not rare for PHP apps to be fucked in some sense, but requiring the server to have an existing vulnerability where users could cat /etc/password is an insane pre-requisite. If you need this, this does not make this a severe bug.

    For sure that this is still a bug that should be patched. But I do remember "don't eval on user sent stuff" rule. Or is this really prevalent in PHP ecosystem?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 2 hours ago (1 child)

    Yes the vulns are real. No that does not mean a system with the vuln is automatically and noticeably exploitable: that assumes there are no other defense systems or simply other happenstance logical walls around (firewalls, datacenter range blocks, seven proxies, 28 NATs, Anubis, whathaveyou).

    My understanding is that CVEs are ranked not by Real World conditions but rather under an "idealized threat condition" that imagines your machine is essentially connected with a straight wire to the root DNS serves of the internet, given a public IPv4 address, and the off switch is dislodged or somehow made unavailable.

  • source
  • hideshow 1 child comment
  • I don't think any of those walls help except for a WAF that knows what to look for. I don't know exactly what the real exploits look like but I heard something about constructing multipart form bodies that expand to a surprisingly large amount of PHP memory compared to the size of the request body, and that's probably something a heuristic on a WAF could detect. I would want to do more research before relying on that.

  • source
  • parent
  • [–] 2 points 4 hours ago* (last edited 4 hours ago) (2 children)

    From the very little I've researched, a DoS with it isn't hard but for RCE one needs to know some pointers inside... doable if you assume it's Debian or something then just download a bunch of versions locally and try them. This also implies that most hardened distributions are all unaffected (because relocations) and source builds are effectively unaffected unless the binary is dumped somehow.

  • source
  • hideshow 2 child comments
  • [–] 1 point 1 hour ago* (1 child)

    Yes, and even for Debian because of ASLR, but these vulnerabilities may allow memory to be leaked and from those memory leaks an attacker can reconstruct the necessary information. That's obviously not something just anybody could have done, but publicly available AI tools have made this level of attack complexity much more accessible. In https://www.youtube.com/watch?v=7CiZmq2llDg&t=629s they first find the vulnerability but their AI cheated to make it exploitable and then somebody else gives them a way to leak memory to figure out where things are in memory. I don't think having errors enabled is actually necessary for the exploit to work, because if that was the case the PHP security announcement would have said "turn off errors" instead of "turn off your server now."

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 11 minutes ago

    blind rop? Well, if they are using AI they are unlikely to do this in a reasonable amount of time anyway. Also, not sure how one would go on with that if all protectors and pointers change every run and fork like on OpenBSD.

  • source
  • parent
  • [–] 12 points 9 hours ago

    I remember someone on hacker news saying they were able to dump the whole database from their server, I cannot know if that s true but I don't think everybody panicked for nothing

  • source
  • [+] 26 points 15 hours ago (7 children)
  • [–] 6 points 4 hours ago

    the exploit has been out for over 10 hours

    According to the PHP Foundation the OOM vulnerability was originally found by the security audit they commissioned back in 2024.

    They never fixed it because there was no working exploit at the time and also because all the fixes had important downsides and they went into decision paralysis.

    I do believe that two years is plenty of time for someone to figure out a working exploit, especially with AI assists.

    Bottom line, the timing of this recent debacle is centered around the moment that the PHP Foundation decided to finally eat crow, not around when the exploit was actually available. The embargo was just for spectacle. PHP circles are already spinning it as "see how important PHP is, how much of the internet runs on it, how it's critical infrastructure".

  • source
  • parent
  • [–] 7 points 6 hours ago

    To be perfectly fair, we've come a long, long way from 20-30 years ago when most firewalls were static or at best heuristic.

    Today you can integrate solutions like CrowdSec into your reverse proxy setup (which, let's be fair, most people hosting things will be using to some extent), and transparently scans all requests for known exploit fingerprints.

    Basically, if you've done the bare minimum of opsec, most likely your setup will be safe from being compromised, even if you're running an exploitable version of the problem software/stack.

    And that's just a free and open source solution to securing your hosting - you can further deploy DPI based IDPs, analytics that spots irregular traffic patterns, especially in commercial environments, to protect against such attacks. It's not a guarantee, but such layered security at the very least adds some deterrence.

  • source
  • parent
  • [–] 26 points 9 hours ago (3 children)

    This is dangerous misinformation. Both PHP bugs are real and together they are exploitable without the server having some other rare problem.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 2 hours ago (1 child)

    So where are the real world exploits? Wouldn't we hear of lots of barely maintained php servers being cracked open everywhere?

    This is increasingly a story similar to the boy that cried wolf... next time people will not take such CVEs serious anymore.

  • source
  • parent
  • hideshow 1 child comment
  • It's too soon. Only people who are on top of things would have already noticed, and then even after people notice they're probably going to want to do investigations and get PR people and lawyers involved before making any public announcement. We're more likely to hear the consequences from dark web forums first.

  • source
  • parent
  • [–] 2 points 10 hours ago

    Thank you for coming my nerves, I have been seeing a lot of things on this some sensationalizing this as a big issue and some saying it was not really a big deal. I broke and went to see what of my homelab that really touched the WAN had php, I removed somethings and decided to risk it for someother things.

  • source
  • parent
  • [–] 5 points 15 hours ago* (3 children)

    The PHP vulnerabilities (yes there is more than one) are relatively easy to exploit if you can fiddle with what requests your server receives (easy).

    The DNS exploit requires someone to figure out how to man-in-the-middle your connection. While that is trivial for governments, it is much less likely to be done by purely bad actors, simply for how hard "internet" integration is and how visible the problem ends up.

    Both are big problems, but only one of them is continually exploitable, as the DNS issues have been largely resolved even before the very public disclosure.

  • source
  • hideshow 3 child comments
  • [–] 11 points 13 hours ago (2 children)

    What do you mean "DNS exploit"? Neither 109618 nor 109619 mention dns in the exploit path...

  • source
  • parent
  • hideshow 2 child comments