Critical PHP RCE: CVE-2026-109618 and CVE-2026-109619

PHP fixes two critical vulnerabilities on October 21 at 14:00 UTC. They affect all web servers running PHP 5.4 or later. You need to fix them at the infrastructure level. Sansec expects mass attacks within 15 minutes of the release.
Critical PHP RCE: CVE-2026-109618 and CVE-2026-109619 | Sansec

Thanks for flagging this, @trace!

For anyone reading: the PHP team has now released the fixes (PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12) see the announcement at php.net.

This is a vulnerability in PHP itself, not in OJS, OMP or OPS. It affects any website running on PHP, so it needs to be fixed on the server.

If you run your own install, please contact your hosting provider or IT team and ask them to apply the PHP security update as soon as possible.

If your journal is hosted with PKP Publishing Services, no action is needed on your side. Our systems team is already completing the PHP upgrades, and your site may be briefly offline during the process.

Somewhere I read that PHP versions up to 8.0 were particularly vulnerable because they had reached end-of-life (2023), but OJS 3.3, which was the LTS until 3.5.0.5 came out this summer. Fixes were applied to 8.2 and above, which are right for 3.5 (probably 3.4 also), but when I tried ot switch to 8.2 in the domain running OJS 3.3, it was failing with PHP 8.2, so I had to revert back to 8.0 in the cPanel. I have been running 3.3 and 3.5 side by side, one using 8/0 and the othe 8.2 and will be cutting over to 3.5 in January, as to give our publishers the time to wrap up their publishing activity and publish their issues this year.

It would be great to make OJS LTS versions (e.g. 3.3) compatible with a wider range of PHP versions (up to 8.2), so institutions would not be compelled to rush into an upgrade amidst some of their other concerns about OJS 3.5. This PHP issue certainly should force OJS institutions to plan ahead though. If 3.5 works with PHP 8.4 (not just 8.2), that would give them more time to stick with 3.5 (maybe explore 3.6) for a longer time. – @asabhar

Hi @asabhar,

We have CI testing for OJS/OMP/OPS 3.3.0-x up to (and including) PHP 8.2; I’m using PHP 8.3.36 in my local development environment without problems. I recommend using either of those.

According to PHP, 8.2 is maintained for security fixes until at least December 31 (2026); for 8.3, it’s until at least December 2027. So you should be covered with 8.2 now, and 8.3 for some time longer.

However, it’s important to use the latest OJS in your branch. As PHP introduces breaking changes, we update the code, including in older branches; it’s unlikely that something very old like 3.3.0-5 will work with PHP 8.3, but 3.3.0-23 will.

(Meanwhile, I will attempt to add CI test coverage for newer branches of PHP.)

Regards,
Alec Smecher
Public Knowledge Project Team

Hi people! Some time after we spoke with @asmecher about the PHP support in OJS 3.3 (can’t find that post rn), when he told that it’s supposed to work fine with PHP 8.x, I switched the PHP version in my test OJS 3.3.0.22 installation from 7.4 to 8.4, and nobody has noticed any strange behavior since. There may be some decorative “deprecated” messages in error.log, such as

PHP message: PHP Deprecated:  Smarty_Internal_Runtime_Inheritance::process(): Implicitly marking parameter $parent as nullable is deprecated, the explicit nullable type must be used instead in .../lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php on line 168', referer: .../index.php/.../login

, but nothing obviously failing. I was even going to switch the prod environment for one or two of our journals to 8.4 soon.

@asabhar could you be more specific what failed for you, and what subversion of OJS 3.3 you’re using?

@asmecher, if possible, I think many people would appreciate adding the CI test coverage for 8.4. It’s the default PHP in the current stable Debian Trixie. And, since OJS 3.5 introduces some breaking changes, we’d prefer to stay on 3.3 for a bit longer.

Hi all,

I’ve added PHP8.3 testing to the CI setup without problems, but PHP8.4 might be a little tougher; the integration tests appear to pass but the version of PHPUnit itself we’re using there isn’t compatible. It may not be trivial to update. In any case, I’ll count PHP8.3 as a win for now put 8.4 on my list for later.

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you Alec,

I took a leap of faith (in the OJS) and upgraded the PHP for the OJS 3.5.0.5 to 8.3 (from 8.2) and the 3.3.0.13 to PHP 8.3…no screams from users yet :-)! The site opens and I can navigate through it just fine, but the hangups may appear…unless it some browser cache that I happened to see that one time. This will allow me to reproduce issues when others report issues, and I can always resume 8.0 if necessary.

Best regards,

Arjun @asabhar

…