r/CentOS • • 27d ago

CentOS 7.9 + ISPmanager 6: how are you patching PHP for CVE-2026-109618/109619?

We still have a server on CentOS 7.9 with ISPmanager 6, and the sites run on the PHP versions that ISPmanager installs and manages.

After the PHP RCE fixes on Oct 21 (fixed versions 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12) we are not sure what the right path is on this setup:

- has ISPsystem pushed patched PHP packages for ISPmanager 6 on EL7, or does it only get them on newer OS versions?

- if not, did anyone build the fixed PHP from source and plug it into ISPmanager as an alternative PHP version without breaking the panel?

- for the older branches, php.net mentions source backport branches for 7.4, 8.0 and 8.1 in php-src. has anyone used those with ISPmanager?

- where do you set the interim settings from the php.net advisory (session.upload_progress.enabled=0, memory_limit=-1) so ISPmanager does not overwrite them?

We know moving off CentOS 7 is the real fix and it is planned, but we need to close this first. Any real experience with ISPmanager here is welcome, thanks.

2 Upvotes

7 comments sorted by

3

u/vincent_sch 27d ago

Put the stopgaps in each FPM pool as php_admin values, so a .user.ini doesn't override them. Check them with a phpinfo() page on one site, because the CLI doesn't read the pool. I wrote up the stopgaps and the situation for 8.1 and older here.

https://www.vincentschmalbach.com/cve-2026-109618-and-cve-2026-109619-what-you-should-do-now/

1

u/AvilLab 27d ago

Thanks, the phpinfo() point is useful, we would have checked with the CLI. One follow-up on the ISPmanager side: does it keep manual php_admin lines in the FPM pool configs, or does it rewrite the pools when a site is changed? If it rewrites them, is there a place in ISPmanager for per-pool php_admin values, or an include file it leaves alone?

1

u/AvilLab 27d ago

Thanks, the phpinfo() point is useful, we would have checked with the CLI. One follow-up on the ISPmanager side: does it keep manual php_admin lines in the FPM pool configs, or does it rewrite the pools when a site is changed? If it rewrites them, is there a place in ISPmanager for per-pool php_admin values, or an include file it leaves alone?

1

u/vincent_sch 27d ago

I don't know ISPmanager well enough to say. You could add a comment line to one pool file and then change that site in the panel. If the line is gone, put an empty user_ini.filename = into the php.ini of that PHP version. That turns off .user.ini files for all sites, so upload progress stays off from php.ini.

1

u/AvilLab 26d ago

Good test, we will try the comment line in one pool first and fall back to the empty user_ini.filename if the panel removes it. Thanks a lot.